Java Development Tools
Java development tools are supported by many platforms and numerous plugins exist to extend the capabilities. In this section, get the latest news on development tools, find advice on how to optimize your use of Java, and follow tutorials to improve your skills when using Java development tools. Learn about valuable tools including the integrated development platform (IDE), and discover tools and plugins you can use to create programs in Java.
Top Stories
-
Tutorial
30 Mar 2022
An example of how suppressed exceptions in Java work
Don't ignore suppressed exceptions. In this quick tutorial we show you how to anticipate when code will throw suppressed exceptions, along with the best practices to handle them. Continue Reading
-
Tutorial
30 Mar 2022
A simple 'try with resources' in Java example
Java's 'try-with-resources' exception handling feature can help you write better, more effective Java code. Here's a quick example of the try with resources construct in action. Continue Reading
-
Blog Post
09 Jun 2022
How to run a Jar file
How do you run a JAR file on Windows, Mac or Linux? Double click the JAR? Run the JAR at the command line? Several approaches will work if you have Java or the JDK installed. Continue Reading
-
Tutorial
30 Mar 2022
An example of how suppressed exceptions in Java work
Don't ignore suppressed exceptions. In this quick tutorial we show you how to anticipate when code will throw suppressed exceptions, along with the best practices to handle them. Continue Reading
-
Tutorial
30 Mar 2022
A simple 'try with resources' in Java example
Java's 'try-with-resources' exception handling feature can help you write better, more effective Java code. Here's a quick example of the try with resources construct in action. Continue Reading
-
Blog Post
08 Feb 2022
How to convert a PEM file to PPK format example
Need to SSH into a remote server with PuTTY but your PEM file just won do the trick? Here's a quick example of how to convert a PEM file to PPK format with PuTTYGen so your SSH sessions with PuTTY ... Continue Reading
-
Blog Post
21 Jan 2022
Why we use ./ (dot slash) to run Linux scripts?
Ever wonder why you need a ./ before a Unix shell script or command of your own in order to run it? Here's what the Linux dot slash does and why Unix systems require the ./ syntax. Continue Reading
-
Blog Post
14 Jan 2022
Top 5 AWS root account best practices
The credentials of your server's super user must be protected at all costs. Here are five AWS root account best practices to protect yourself from being hacked. Continue Reading
-
Tutorial
01 Dec 2021
How to revert a Git commit: A simple example
The git revert command is commonly misunderstood. In this quick tutorial, we will show you exactly how the command works and how to perform a simple undo in your repo. Continue Reading
-
Blog Post
01 Dec 2021
How to find and use a GitHub URL by example
This example shows you how you can find and use the GitHub URL. Clone, fetch, push and pull to your remote repo easily with the GitHub URL at your disposal. Continue Reading
-
Blog Post
10 Oct 2021
How to delete a Git branch locally
Here's a quick example of how to delete local Git branches from your workstation without deleting remote branches in your GitHub or GitLab repos. Continue Reading
-
Blog Post
06 Oct 2021
How to tag a Git commit id by example
Here's a quick example of how to tag a specific commit id in Git. This is perfect if an older commit id requires a tag but was not originally given one. Continue Reading
-
Answer
28 Jul 2021
Git fork vs. clone: What's the difference?
Both Git fork and clone create copies of a repository, but they offer drastically different levels of access, isolation and control over the target repo. Continue Reading
-
Blog Post
28 Jun 2021
How to use the UiPath Switch activity
While the UiPath If activity is great for simple logic, multi-branching demands the UiPath Switch activity. Learn how to use it to perform conditional logic. Continue Reading
-
Tip
25 Jun 2021
Library vs. framework: How these software artifacts differ
Libraries are low-level components that deliver a specific function, such as establishing a network connection. A framework is a known programing environment, such as Spring Boot. Continue Reading
-
Feature
25 Jun 2021
Java naming conventions, explained
You could start a Java variable with a dollar sign, but no one does. When you write Java code, always follow these standard Java naming conventions. Continue Reading
-
Answer
23 Jun 2021
Why is Java platform-independent?
Sun Microsystems architects designed Java to be cross-platform. But why? Here we look at not only why Java works across platforms, but also how it achieves its platform independence. Continue Reading
-
Feature
04 Jun 2021
Learn how to save to local storage in this git stash tutorial
Sometimes developers need to jump off the main distributed development branch to local storage. Follow this git stash tutorial to learn the ins and outs of this Git command. Continue Reading
-
Blog Post
02 Jun 2021
Quickly create a Git bare repo with init or clone example
There are two ways to create a bare Git repo -- a bare Git clone or a Git init bare. This git bare repo tutorial will show you how to perform both. Continue Reading
-
Blog Post
28 May 2021
What is a bare repository in Git?
A bare Git repo has all the capabilities of a non-bare repository, with the exception that it’s not meant for local development. Continue Reading
-
Blog Post
21 May 2021
How to use git submodules tutorial with examples
If you’re wondering how to git submodule and logically link repositories together, this git submodule tutorial -- with lots of examples -- is for you. Continue Reading
-
Blog Post
21 May 2021
How to update Git submodules
If your Git submodule is out of sync with the server, we can help. This git submodule update example shows you how to get the latest commits into your worktree. Continue Reading
-
Opinion
17 May 2021
How technologists should approach professional development
Old approaches to professional development don't stand up to the pace of change in the cloud-native world. Here's how DevOps professionals can cope. Continue Reading
-
Tip
30 Apr 2021
10 Jenkins alternatives for developers
Looking for an alternative to Jenkins in your CI/CD environment? Consider options from Atlassian, GitLab, Spinnaker and more to see if they better fit your development needs. Continue Reading
-
Blog Post
30 Apr 2021
How to create Git submodules in GitHub and GitLab by example
In this GitHub submodule add example, we demonstrate how to take an independent GitHub repository, add a Git submodule and push back to the GitHub server. Continue Reading
-
News
06 Apr 2021
Supreme Court ruling on Java APIs eases developer worries
Now that the Supreme Court has ruled for Google over Oracle in their high-stakes copyright battle over Java APIs, developers can rest easier -- but some questions linger. Continue Reading
-
Blog Post
30 Mar 2021
How to create a GitHub repository
This GitHub repository tutorial shows users how to create a new repository in the popular, cloud-hosted Git offering. Let’s dig into the central concepts of GitHub-based DevOps. Continue Reading
-
News
26 Mar 2021
Genuitec's CodeTogether 4.0 promotes pair programming
With Genuitec CodeTogether 4.0, development teams can work collaboratively even when remote. The product supports pair programming, mob programming and swarm programming. Continue Reading
-
Quiz
26 Feb 2021
A tough, 10-question Java garbage collection quiz
Do you know which Java garbage collector is deprecated and which is best for stateless apps? Test your knowledge in this Java GC algorithm and tuning quiz. Continue Reading
-
Blog Post
26 Feb 2021
How to clone from a git tag example
In this git tag clone example, we’ll demonstrate how to pull from a tag point in your git commit history. However, it comes with a catch, in the form of a detached head. Continue Reading
-
Quiz
10 Feb 2021
10-question Gitflow version control quiz
Gitflow version control is a DevOps-friendly way to manage the different branches of code in your environment. Make sure you're up to date on the latest developments and strategies. Continue Reading
-
Blog Post
29 Jan 2021
Clone a git repository with submodules using init and update example
When you clone a git repository, it won’t necessarily bring down the branches and code for the associated submodules. The git submodule init and update command and the --recurse-submodules switch ... Continue Reading
-
Answer
18 Dec 2020
Declarative vs. scripted pipelines: What's the difference?
Scripted pipelines were once the standard for CI/CD but they are nearly extinct, and since supplanted by declarative pipelines. See how they compare and when each works best. Continue Reading
-
Blog Post
04 Dec 2020
An example of how to easily add Git submodules
This git submodule add example demonstrates how a developer can use these steps to create a Git repository and add a new Git submodule to it. Continue Reading
-
Feature
24 Nov 2020
Why GitHub renamed its master branch to main
The GitHub master branch is no more. Developers used to think it was untouchable, but that's not the case. Here's why GitHub made the switch from master branch to main branch. Continue Reading
-
Blog Post
22 Nov 2020
How to use GitHub Actions secrets to hide your tokens and passwords example
You can confidently store keys, tokens and passwords with GitHub Actions secrets. This quick, not-so secret tutorial, provides an example of how to do exactly that. Continue Reading
-
Blog Post
01 Nov 2020
How to install Jekyll on Windows 10 example
A local install of Jekyll on your Windows machine provides a variety of benefits which range from the ability to use your favorite text editor to fast compilation times. Even if you use GitHub ... Continue Reading
-
Blog Post
31 Oct 2020
Fix the Jenkins Docker error: Permission denied when trying to connect to Docker daemon
Here's a quick fix to the Jenkins Docker"Permission denied while trying to connect to the Docker daemon socket" error. Continue Reading
-
Blog Post
30 Oct 2020
How and when to perform a git clone depth 1 example
In this git clone depth 1 example, we'll walk you through the process of pulling only one commit and one branch back from a remote Git repository. Continue Reading
-
Feature
29 Oct 2020
RPA skills in demand as organizations eye better engagement
RPA developer skills are among the most valuable on any resume. Here's why organizations seek out developers with these skills and what returns RPA can deliver to an enterprise. Continue Reading
-
Blog Post
29 Oct 2020
How to use the git log graph command example
In this git log graph example we demonstrate not only how the git log graph works, but also how to use a pretty switch to make it more readable. Continue Reading
-
Video
20 Oct 2020
An example of how to use the git stash command
Developers must occasionally pivot quickly from one task to another. Git stash is a simple command that lets you temporarily shelve changes and hold your place for when it's time to return to your original task. Continue Reading
-
Infographic
01 Oct 2020
How the process automation industry has changed during COVID-19
Process automation can help corporate budget planners cut costs and create efficiencies in the wake of the COVID-19 pandemic. Expect companies that sell these tools to see significant growth in these times. Continue Reading
-
Video
30 Sep 2020
Get automated with this RPA and UiPath tutorial for beginners
Developers can eliminate tedious and monotonous tasks with the help of robotic process automation. This UiPath tutorial highlights the early steps with any RPA platform. Continue Reading
-
Blog Post
30 Sep 2020
How to install Git on Windows example
Working with GitHub or BitBucket? Then you need to install Git. In this tutorial we show you how to install Git on Windows in 10 easy steps. Continue Reading
-
Blog Post
30 Sep 2020
How to create a GitHub repository example
This step-by-step, tutorial will walk developers through the necessary steps to create a GitHub repository and how to create the cloud-hosted Git repo that acts as the cornerstone for all ... Continue Reading
-
Blog Post
29 Sep 2020
Eight Git commands every GitLab developer must know
Every developer needs to know a few basic Git commands to become proficient with GitLab. Here are the top eight Git commands every developer must know to be on their way to GitLab mastery. Continue Reading
-
Blog Post
28 Sep 2020
How to delete a GitHub repository example
If you're ready to fly into the Danger Zone, then you're ready to follow these steps to delete a GitHub repository. Continue Reading
-
Video
17 Sep 2020
An introduction to RPA programming with UiPath Studio
Follow this UiPath Studio tutorial for the basics of RPA programming and see how developers can improve their skills as they build in-depth applications. Continue Reading
-
Blog Post
13 Sep 2020
How to perform a GitLab delete remote branch operation on any repository
It's not exactly a straightforward process for developers to have GitLab delete remote branches. In this GitLab tutorial, we'll show you how to remove remote GitLab branches with examples. Continue Reading
-
Blog Post
03 Sep 2020
How to set Notepad++ as the Git editor instead of Vim
Frustrated every time you forget to add a Git commit message and Vim, the default Git editor pops up? Here's a way to make issuing git commits a bit friendlier. In this Git tutorial, we show you ... Continue Reading
-
Video
02 Sep 2020
How to git stash untracked files with a push
Need to add untracked files and otherwise ignored files into the git stash? Here's how to use the --include-untracked and --all git stash push options. Continue Reading
-
Blog Post
31 Aug 2020
How GitLab developers can merge any branch into master
In this GitLab merge branch to master example, we explain why a GitLab merge into master is different from other operations, and how to accomplish this task with a GitLab master merge request. Continue Reading
-
Tutorial
25 Aug 2020
WebAssembly Hub boosts Envoy filter development
Examine WebAssembly Hub's features, why developers have turned to the portal to share Envoy filters and how it seems to be built for the long haul. Continue Reading
-
Feature
24 Aug 2020
How to scale automation in DevOps environments
With the right tools and processes, programmers can automate at scale many of today's manual tasks. Here's how one company developed automation-at-scale best practices. Continue Reading
-
Blog Post
21 Aug 2020
How to merge master into any branch in GitLab by examples
There are two ways a developer can have GitLab merge master into a branch. One is to merge master into the branch on the client while the other is to perform a GitLab pull request. Here are some ... Continue Reading
-
Blog Post
14 Aug 2020
How to git clean untracked files example
Developers can use the git clean command to delete untracked files in a working tree and remove what they don't need from a local repository. Here is how to issue the command and some helpful tips ... Continue Reading
-
Opinion
13 Aug 2020
5 must-listen Joe Rogan Experience podcasts for programmers
Most listeners won't expect the Joe Rogan Experience podcast to delve into topics for developers and programmers, but these five episodes are of special interest to IT professionals. Continue Reading
-
Blog Post
13 Aug 2020
Why developers won't be able to find the gitconfig file
Can't find the .gitconfig or gitconfig files on your system? It's possible that Git didn't create them. Here's how to find gitconfig on the filesystem and create the if it's not there. Continue Reading
-
Blog Post
11 Aug 2020
How to perform a Git clean up of branches and commits example
There comes a time where you must clean up Git branches, commits and the repository as a whole. Here we show you how to compact your Git repo and keep things clean. Continue Reading
-
Blog Post
05 Aug 2020
How to git push GitLab commits to origin by example
When a local git repository is out of sync with the GitLab server, developers must git push GitLab commits to origin. Here is how to push the commits to origin and maintain successful development. Continue Reading
-
Blog Post
05 Aug 2020
An example of how to create and clone a GitLab repository
One of a developer's first tasks when they start with GitLab is to clone the GitLab repository. Here's how to create a GitLab repository and clone it from the server to a local machine. Continue Reading
-
Blog Post
02 Aug 2020
How to fix the UiPath invalid machine key error
Here's a quick fix to the UiPath Invalid Machine Key error. If you're having a problem connecting your RPA robots to Orchestrator from the Assistant, this solution will set you on the right path. Continue Reading
-
Blog Post
30 Jul 2020
How to create and delete GitLab projects by example
To get started with GitLab, you first need to create a GitLab project. And when you're finished, you might also want to delete a GitLab project. Here we show you how to both create and remove ... Continue Reading
-
Blog Post
29 Jul 2020
How to do a self-hosted install of GitLab on Ubuntu 20
This Git tutorial demonstrates how to install GitLab on Ubuntu 20. With a GitLab server installed locally on Ubuntu, a developer can enjoy GitLab without the cloud. Continue Reading
-
Blog Post
28 Jul 2020
How to edit the Ubuntu hosts file and ping a domain name locally
Here's a quick video example of how to do an Ubuntu hosts file edit. This is useful for development and testing when a developer wants to mimic a production domain name locally. Continue Reading
-
Blog Post
26 Jul 2020
How to remove Git submodules
There’s a lot of misinformation out there about how to remove a Git submodule. Follow these steps to delete Git submodules. Continue Reading
-
Blog Post
26 Jul 2020
How to Git clone on Ubuntu with GitLab and GitHub
Need to perform an Ubuntu git clone operation? Here we will show you how to install Git on Ubuntu and then clone, commit and even push to GitLab and GitHub. Continue Reading
-
Blog Post
26 Jul 2020
Quick fix to Git's fatal 'unable to access SSL certificate' error
Here's a quick fix to the Git 'unable to access GitHub or GitLab' SSL certificate settings error when you attempt to clone from GitHub or GitLab. Continue Reading
-
Video
20 Jul 2020
How to easily merge and resolve git stash pop conflicts
Don't let a conflict with git stash pop derail development. Here's how to merge and resolve this issue and clean up code for proper programming. Continue Reading
-
Blog Post
15 Jul 2020
Use git worktree add and never switch branches again
Git Worktree Add Example I was today years old when I learned you could have multiple git working trees active at the same time. The idea is simple. Imagine you have multiple branches and want to ... Continue Reading
-
Blog Post
04 Jul 2020
How to perform a shallow git clone
This shallow git clone example shows you how to use the --depth switch to limit the git commit history pulled to your local machine. Continue Reading
-
Blog Post
03 Jul 2020
How to rename a GitHub repository with Git example
Sometimes new business requirements will force a Git admin to rename a GitHub repository. Here's how to do it, and here's how it will impact existing users. Continue Reading
-
Blog Post
27 Jun 2020
How to create a UiPath Orchestrator process to run robots
Want to run your RPA robots? Then you need to create a UiPath process. In this UiPath Orchestrator tutorial, we show you how to create processes and run unattended robots. Continue Reading
-
Video
15 Jun 2020
Compare git stash pop and git stash apply for file restores
Do you want to save or delete your stash entries? Your choice will determine the outcome of the debate between the git stash pop and git stash apply command. Continue Reading
-
Blog Post
09 Jun 2020
How to list and show the git stash history
Show your shelved change history with git stash list and show. Continue Reading
-
Blog Post
09 Jun 2020
How to master the Git status command
To really understand distributed version control, you must master the Git status command and understand the working tree states upon which it reports. Continue Reading
-
Blog Post
08 Jun 2020
How to set important Git config global properties
One of the key files managing how your DVCS system works is the glboal Git config file. Here we show you the most important global gitconfig settings and uses. Continue Reading
-
Blog Post
07 Jun 2020
List and show Git config settings
If you are wondering how a variable is assigned a value in Git config use --list to inspect the gitconfig files. Continue Reading
-
Blog Post
04 Jun 2020
How set git config username and email fields in global and local configuration files
Before you can commit code, you must set the local or global git config username and email fields. In this global git config example we will show you how. Continue Reading
-
Blog Post
03 Jun 2020
How to squash git commits by example
If you goal is to clean up your repository, this squash git commits example give you the motivation you need to clean up your feature and topic branches. Continue Reading
-
Blog Post
02 Jun 2020
A git stash name: Easily pop or apply changes by name example
A developer needs to name git stash saves if they want to easily identify them in the future. Here's how to do both a git stash with name apply and a git stash pop by name. Continue Reading
-
Blog Post
02 Jun 2020
Fix for the GitLab "Unable to locate package gitlab-ee" on Ubuntu 20
If you're doing a self-hosted GitLab Ubuntu 20 install and you hit the "Unable to locate package gitlab-ee" error, here's the solution to fix the problem. Continue Reading
-
Blog Post
01 Jun 2020
How to make multiple values per key in a Java map possible example
Need to add multiple values to a key in a Java HashMap but can't figure out how to do it? Here are three examples of how to solve the multiple values per key problem in Java. Continue Reading
-
Blog Post
01 Jun 2020
Five git log oneline examples
Save time and effort when inspecting your commit history with the git log --oneline command. Continue Reading
-
Blog Post
01 Jun 2020
How to Git rebase master onto any branch by example
If you think you need to git rebase master to a branch like develop or release, this tutorial will guide your way, while also letting you know of potential dangers. Continue Reading
-
Blog Post
30 May 2020
How to git shelve changes and save local files
How can a developer unshelve and shelve git changes? Or how about a git shelve equivalent like what IntelliJ has? Let's set the record straight on the git shelve and stash debate. Continue Reading
-
Podcast
29 May 2020
Focus on the artifact for an organizational DevOps strategy
JFrog Shippable aims to simplify pipeline management. JFrog VP of Engineering Avi Cavale discusses strategies to implement DevOps with TheServerSide's Cameron McKenzie. Continue Reading
-
Video
27 May 2020
Git reflog vs. log: How these commit history tools differ
How do Git log and reflog differ? These examples show how the two commit history commands provide distinct results for a developer. Continue Reading
-
Blog Post
18 May 2020
Always move and rename Git files in isolated commits
Will there be a need to move or rename a Git file while you refactor your code? If so, don't mix code changes with file changes. Move and rename Git files in a separate commit. Continue Reading
-
Video
15 May 2020
5 tool categories to build a powerful DevOps technology stack
Want to speed application delivery and deployment? Consider adding one of these five DevOps tools and technologies to your IT department. Continue Reading
-
Tip
13 May 2020
The Ben Franklin Effect and software developer career advice
Are you a new programmer in need of a quick and simple way to blend in with your team? Here's some career advice from none other than Benjamin Franklin that might help you do just that. Continue Reading
-
Video
11 May 2020
The Git working tree, index and commit history explained by example
This quick tutorial explains the importance of the Git working tree. With the help of the git status command, you'll become an expert on how the popular DVCS tool transforms the file system. Continue Reading
-
Blog Post
30 Apr 2020
How to fix the 'HttpServlet not found' error in Eclipse
Have you run into the HttpServlet not found error? This tutorial will show you how to quickly fix this annoying Eclipse error message in three easy steps. Continue Reading
-
Video
30 Apr 2020
How to change the last Git commit message quickly
How can a developer change the message associated with the last git commit before an update? Use the following tutorial on the amend command to alter the last Git commit message. Continue Reading
-
Blog Post
30 Apr 2020
How to git clone a specific branch only
Is there one single, specific branch that git clone should target? In this git clone branch example, we demonstrate how to git clone and ignore all but one specific branch. Continue Reading
-
Opinion
30 Apr 2020
Use a developer desktop setup instead of a laptop
Don't get hung up on a laptop for software development, even if you work best from the couch. Here are six reasons why desktops, instead of laptops, should be provided to developers. Continue Reading
-
Feature
16 Apr 2020
3 developer backup strategies for unplanned downtime
What should a developer do during downtime? These three housekeeping tasks should be performed regularly and will keep your data protected in case of an emergency. Continue Reading
-
Feature
08 Apr 2020
Compare these top 6 Java IDEs for development
Find the Java IDE that best fits your development needs. Compare these options from Eclipse, NetBeans, IntelliJ, JDeveloper, BlueJ and EclipseJ to see which one makes the most sense. Continue Reading
-
Feature
31 Mar 2020
How developers can volunteer during the COVID-19 pandemic
What resources can developers offer to go against COVID-19? Explore some promising developer volunteer and open source project opportunities to see how you can help. Continue Reading
-
Feature
30 Mar 2020
Work from home tips from distributed development teams during COVID-19
The distributed dev community often works remotely. Pick up these approaches, such as an asynchronous schedule and video collaboration, to be productive and in sync while the whole team works from home. Continue Reading
-
Video
24 Mar 2020
Developer vs. DevOps roles: What's the difference?
Don't lump developers and DevOps engineers into the same category. Compare and contrast the two and see which one is a better fit for your programming career. Continue Reading