Java Tutorials - The Really Big Index
The Java Tutorials have been written for JDK 8. Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available. A list of all content pages in the The Java™ Tutorials Oracle Legal Notices Trail: Getting Started The Java Technology Phenomenon About the Java TechnologyWhat Can Java Technology Do? The "Hello World!" "Hello World!" A Closer Look at the "Hello World!" Questions and Exercises: Getting Started Common Problems (and Their Solutions) Trail: Learning the Java Language Object-Oriented Programming Concepts What Is an Object? Language Basics Classes and Objects Annotations Annotations BasicsDeclaring an Annotation TypePredefined Annotation TypesType Annotations and Pluggable Type SystemsRepeating AnnotationsQuestions and Exercises: Annotations Interfaces and Inheritance Numbers and Strings Generics (Updated) Why Use Generics? Packages Trail: Essential Java Classes Exceptions What Is an Exception? Basic I/O
50 Most Frequently Used UNIX / Linux Commands (With Examples)
This article provides practical examples for 50 most frequently used commands in Linux / UNIX. This is not a comprehensive list by any means, but this should give you a jumpstart on some of the common Linux commands. Bookmark this article for your future reference. Did I miss any frequently used Linux commands? 1. tar command examples Create a new tar archive. $ tar cvf archive_name.tar dirname/ Extract from an existing tar archive. $ tar xvf archive_name.tar View an existing tar archive. $ tar tvf archive_name.tar More tar examples: The Ultimate Tar Command Tutorial with 10 Practical Examples 2. grep command examples Search for a given string in a file (case in-sensitive search). $ grep -i "the" demo_file Print the matched line, along with the 3 lines after it. $ grep -A 3 -i "example" demo_text Search for a given string in all files recursively $ grep -r "ramesh" * More grep examples: Get a Grip on the Grep! 3. find command examples Find files using file-name ( case in-sensitve find) # find ~ -empty
Mark Dexter
The tutorial lessons are contained in zip files on the SourceForge project web site. Each lesson is contained in a separate zip file called <name>lessonxx.zip, where <name> is the tutorial name (e.g., totalbeginner, persistence, debugger, workbench), and xx is the lesson number. For example, the zip file for the Total Beginners lesson 1 is called totalbeginnerlesson01.zip. The Lessons can be downloaded from the download site for each tutorial, either using the Download Tutorials links on the left side of this page or using the Download link on each tutorial's Main Page. All of the tutorials, except for the Total Beginners, also have a zip file that contains a project archive file (e.g., workbench-tutorial.zip, persistencetutorial.zip, etc.). Each project also includes a PDF document called the Tutorial Companion Document. You can play Lesson 1 of each tutorial without downloading anything, just by clicking on the "View Lesson 1" link in each tutorial's main page. Playing the Videos
Installing Jenkins on Ubuntu
On Debian-based distributions, such as Ubuntu, you can install Jenkins through apt-get. Recent versions are available in an apt repository. Older but stable LTS versions are in this apt repository. You need to have a JDK and JRE installed. openjdk-7-jre and openjdk-7-jdk are suggested. As of 2011-08 gcj is known to be problematic - see Please make sure to back up any current Hudson or Jenkins files you may have. wget -q -O - | sudo apt-key add - sudo sh -c 'echo deb binary/ > /etc/apt/sources.list.d/jenkins.list' sudo apt-get update sudo apt-get install jenkins Once installed like this, you can update to the later version of Jenkins (when it comes out) by running the following commands: sudo apt-get update sudo apt-get install jenkins (aptitude or apt-get doesn't make any difference.) Jenkins will be launched as a daemon up on start. by sudo a2dissite default
Kay Hortsmman - Core Java Web Page
Both volumes are available as e-books: Volume I—Fundamentals | Volume II—Advanced Features Core Java by Cay S. Horstmann and Gary Cornell was originally published in the Java series of Sun Microsystems Press and is now published by Prentice-Hall. “What makes Core Java the definitive work on the language is more than its vast scope—it is the quality of the presentation.” “Cornell and Horstmann make the details of this powerful and expressive language understandable, and they also furnish a conceptual model for its object-oriented foundations.” “Devoid of shaky, academic examples and packed with robust demonstrations that illustrate hundreds of powerful concepts...The authors back up the many examples with sharp, fact-rich commentary on how to get things done with Java.” Winner of the 2003 Jolt/Software Development Productivity Award! About the Authors Cay S. Gary Cornell has authored or co-authored 14 popular computer books and articles for many developer magazines. Further Information
Eclipse Tips & Tricks
Advertisements Press Ctrl + Shift + L to open a widget that shows all the shortcut keys. In the Java editor press Ctrl + Space to see a list of suggested completions. Typing one or more characters before clicking Ctrl + Space will shorten the list. When the cursor is in a method argument, press Ctrl + Shift + Space to see a list of parameter hints. Code completion supports camel case patterns. Click on Source → Generate Getter and Setter to open the wizard that allows you to generate getter and setter methods. Click on Source → Generate hashCode() and equals() to generate this methods for a Java class. Select a block of code and press Alt+Shift+Z to see a menu of items like if statement, for loop, try/catch etc that can enclose the selected block of code. Select an opening or closing bracket and press Ctrl+Shift+P to find its matching bracket. Type '/**' and press Enter to automatically addes a Javadoc comment stub. Press Ctrl+Shift+O to organize all the imports.
How to become a good programmer? 13 tasks you should practice now
Details Written by Nam Ha Minh Last Updated on 02 July 2019 | Print Email Do you want to become a good programmer? 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 1. As computer scientist Niklaus Wirth said in his well-know statement: “Data Structures + Algorithms = Programs” Data structures are the building blocks of a computer program. 2. It’s obvious that good programmers are always good at using proven algorithms and writing new ones. 3. Programming is finding solutions to problems. 4. How many programming books do you read every year? 5. Blogs are always more up-to-date then books, as the authors tend to keep their readers posted. 6. More often, forums are the places where we seek helps and help others. 7. “Write tests first, write code later” is what I really want to tell you to do in your programming projects. 8. One of the fastest ways to improve your coding skills and become a good programmer is working as a freelancer (either part time or full time). 9. 10. 11. 12. 13. About the Author:
JUnit 5
JUnit team’s statement on the war in Ukraine As human beings, we stand with Ukraine and condemn the Russian government’s war against the Ukrainian people, including our own colleagues and their families. Donate to UN’s Ukraine Humanitarian Fund About JUnit 5 is the current generation of the JUnit testing framework, which provides a modern foundation for developer-side testing on the JVM. JUnit 5 began as the result of the JUnit Lambda project and its crowdfunding campaign on Indiegogo. Resources You’re invited to follow our ongoing work, review it, and give feedback. We ask you – our users – to support us so we can keep up the pace. Thank you! Backers Stefan Gwihs linux_china Zerocode Zoran Regvart Tokuhiro Matsuno Atsushi Komiya Peter Schuster André Camilo Philip Riecks (rieckpil) Christian Femers Niklas Seyfarth Rafael Fernández Font Perez Roman Pylypaka Ravi Vasamsetty Jun Nakamura Sebastian Staack Paul Schaub Tadeas Kriz Toshihiro Nakamura Latest Release Upcoming Events Thank You Follow Us