10 Useful Tools for Java Developers

Every Java development team has a set of tools to get through office challenges. Java programmers have an enormous selection of libraries, utilities, and programs at their disposal.

Today we have listed 10 must have tools for Java developers.

Keep in mind that these tools make life simpler for you, only if you know your way around Java.

1. JDK (Java Development Kit)

If you plan on developing Java based applets and applications, the first logical step is to get yourself a tool like JDK, which includes the necessary Java Complier, the Java Runtime Environment, and the Java APIs. This tool will help you get started with Java.

2. Eclipse

Eclipse is an open-source integrated development environment (IDE) for Java that facilitates the creation of mobile apps development, desktop and web applications. Eclipse is a highly versatile and adaptable tool that offers modern features and consists of a set of modelling tools, java testing tools and a development framework.

3. Gradle

If you want a tool that is a combination of everything that is good about the ANT and Maven, you will be very happy with this Gradle. The huge advantage of this tool is that it supports the convention-over-configuration paradigm. Gradle includes additional plugins for adding new languages, checking for updated dependencies generating project files for IDEs, building native binaries, and more.

4. JUnit

JUnit is an open source framework for writing and running unit tests. There is an essential difference between JUnit and other similar frameworks available. With JUnit you can test one block of code at a time rather than waiting for the module to be completed before you run a test.

5. Akka

Akka is a complete toolkit and a Java runtime for developing concurrent, distributed and message-driven applications on the Java Virtual Machine. Akka is widely used by popular companies, including Cisco, Amazon, BBC and Groupon. This tool offers features, such as adaptive cluster management, asynchronous design, load balancing, routing, abstractions in Java and much more.

6. Javadoc

Javadoc is a documentation generator provided by Oracle. This tool parses specially formatted comments into HTML documents.

7. Keytool

Keytool is part of JDK by Oracle. Even if is rarely used tool in the development environment, in some enterprise level applications, Keytool is the best key and certificate management tool.

8. Play

A powerful web framework for developing web applications in Scale and Java. Play its built on top of Akka and uses an asynchronous model. Play is real-time enabled and supports various third-party Java libraries.

9. Apache Log4j

Apache Log4j is a logging java library and it’s useful for detecting application failures. It has a unique feature called as inheritance in loggers, which helps reduce the volume of logged output and the cost of logging.

10. VisualVM

VisualVM is a utility for monitoring and reviewing the performance of Java applications that detects and attaches to active JVM instances to retrieve diagnostic information about a process.

With the help of VisualVM you can easy diagnose performance issues in real time. Also, this tool provides a full suite of profiling tools including JConsole, jstack, jmap, jinfo, and jstat.

These 10 tools cover the full gamut of Java development, from code building to bug squashing. Learning these tools can help you improve the quality of your code and become a more efficient Java developer.

The Java landscape is constantly changing with new tools, utilities, and libraries. This list is just a recommendation of tools you need to try out before you get to work.

How to delete files that are locked in Windows 10

Have you ever encountered this situation before? When you were trying to delete or remove a file or files in Windows 10 but you weren’t able to do so. The reason is that Windows 10 tells you that file is locked and can’t be delete or remove out of your computer.

What was this error and how to stay out of these locked files in Windows 10?

According to many Windows 10 users, including experts, the only reason behind this issue is that some kind of applications are still using that file. That’s why you can’t delete it or move it to Recycle Bin yet. In order to do so, you can try to kill programs that are using the file or just reboot the computer and everything will be fine.

Find out the running applications with Task Manager

It depends on the file you want to delete, for example, if you want to delete a Microsoft Word file, open Task Manager and find out whether Microsoft Word is running under Processes tab or not. If you found any program related to Microsoft Word, just right-click on it and choose “Kill the application”.

In most cases, after rebooting the computer, all running applications will automatically be terminated so you don’t need to find out those programs by yourself. If you have time and rebooting the computer won’t left any damage to your work (unsaved works), then rebooting the PC is the good option. Therefore, you don’t need to waste time to locate the programs that are using the file, which is locked and you can’t delete.

Accessing Safe Mode to delete locked files in Windows 10

If after restarting your computer but the file is still in the lock status, then I would recommend you turning your Windows PC into Safe Mode and delete the file you want from there. Sometimes, those files are related to some system functions or something like that. In order to remove those files, you have to access Safe Mode in Windows 10, locate the file and then delete it.

Unfortunately, these cases are rare and you don’t face it much when using Windows 10. I just want to list out in case of encountering.

Using Command Prompt to delete locked files

Along with using Task Manager or Safe Mode, you can also delete or remove locked files in Windows 10 by using Command Prompt. In order to do so, you have to launch Command Prompt with administrator user and then use “del” command to delete the file. For example, if you want to delete a file that locates at C:\file.doc, open Command Prompt, type: cd C:\, and then use: del file.doc to delete that locked file.

Why Linux On The Desktop Is Toast?

Linux succeeding as a desktop operating system as been discussed forever. I’m a Linux software developer by trade, use Linux as my desktop at work and home, but I see the future for it on the desktop to be quite bleak. I discuss the major reasons why below.

Before we discuss this issue, we need to determine what a Linux desktop operating system is. Linux distributions such as Redhat, Suse, and Ubuntu are clearly Linux desktop OSes. However, what about Chrome OS? Google’s upcoming operating system utilizes the Linux kernel, however it has a much different user interface than the typical Gnome or KDE environment that comes with most Linux distributions. Although it is not out yet, it also appears that they will not be offering common Linux utilities such as Gimp and OpenOffice, favoring their own web based applications instead.

For the purposes of this discussion, I am doing to define a Linux desktop OS as an operating system that meet two criteria. One, changes and modifications to the components, both user space and kernel space, are actively shared amongst all the Linux desktop distributions. Two, it is actively advertised and described as Linux. In my opinion, a “Linux desktop” refers to a common set of open source components and the philosophy of open source sharing, and thus is advertised that way. While Chrome OS utilizes the Linux kernel and open-source, and contributes back, my feeling is that Google is doing their own thing. They are intending to make Chrome OS its own identity, that isn’t identifiable with other Linux distributions. For that reason, I’m not going to consider Chrome OS as a Linux desktop operating system. Another way to think about it, how many times have you heard Android referred to as a “Linux OS”? Or how many times have you heard that Apple products run a “Mach kernel OS”?

I will ignore the question of what market share Linux must obtain to call it a success on the desktop, since opinions will vary greatly. At the minimum, all Linux advocates would agree more market share is required for it to be a success.

Linux Can No Longer Compete on Price

At the time of this writing, the cheapest Windows netbook that Dell sells is $300. Dell’s equivalent Linux Ubuntu netbook is listed at $300 dollars. The cheapest desktop offered by both Dell and HP is $300 dollars. For desktops, I have yet to find an online retailer with a comparable Linux desktop for atleast the same price. While this data is limited, I hope these numbers illustrate a simple point. The advantage that Linux once had on price has evaporated. This has happened for a variety of reasons, including more competitive pricing, but one of the major advantages Linux had is now gone.

I recall an article I once read on disruptive technologies. In it, Henry Blodget states, “Disruptive technologies take advantage of a new manufacturing/business process or technology to provide a cheaper, more convenient, simpler solution that meets the needs of the low end of the market. Low-end users don’t need all the features in the Incumbent’s product, so they rapidly adopt the simpler solution.”

Linux on the desktop was expected to be this disruptive technology. The old saying was, “If a grandma needs a computer just to check e-mail from her grandkids, there’s no reason for her to pay more money for a PC.” Well, grandma no longer needs to pay more money, so why would a person unfamiliar with Linux now buy it? Grandma has no incentive to switch.

Granted, when you add other applications such as MS Office, a PC will be more expensive. At the time of this writing, a home version of MS Office is listed for $150 dollars, and can be found for $100 on Amazon. It’s a far cry from the $300-$400 dollars it once cost. The key point is the price gap is significantly shrunk.

Linux Must Compete On Features

The flip side of the previous point is that Linux must now compete on features and functionality to succeed, price is a much smaller competitive advantage for Linux. Microsoft and Apple are aggressively developing better experiences on their operating systems and making better applications that run on it. It does not appear Linux has the resources to compete. Google, perhaps Linux’s biggest supporter from a huge tech company, is the one company that could perhaps push that forward. However, as I mentioned earlier, it appears Google has limited interest in supporting a user interface or Linux applications outside of their cloud.

There are Too Many Linux Distributions

While open source is one of Linux’s greatest attributes, it’s also one of it’s greatest flaws. With so many different distributions of Linux, it ultimately makes it more difficult and costly for software developers to develop software for all flavors of Linux. In addition, individual customers may modifying their Linux distributions for their own internal needs, which simply leads to more portability problems.

This may be the smallest issue of all the ones I’ve mentioned in this list. If one of the distributions can become the clear winner over the other on Linux desktops, this problem could dissipate.

Third Party Applications

Ultimately, for the Linux desktop to succeed, major third party applications must be ported over to it. Classically, people discuss video games as the major limiting “killer app” that must exist on Linux. However, other major software from Adobe and Oracle must also be ported. This single handedly will prevent many customers from switching to Linux. There are multiple issues why this exists, such as the fragmentation problem discussed above. However, I believe the issue at its core is just a chicken and the egg problem. Developers will be unwilling to port to Linux as long as it has such a small market share. However, in order to get people to switch to Linux, more developers need to support Linux.

OS Consolidation

The question is, how many desktop operating systems can the market have? Historically, the answer is not a lot. The need for interoperation of systems will ultimately limit the number of operating systems that can exist. Software developers want to have their software work for as many people as they can, while consumers want familiarity. With Google entering the desktop OS war, I am reluctant to believe that Redhat, Suse, or Ubuntu are going to be able to make inroads in an even tougher environment. I doubt they will become the next BeOS or OS/2, but Google’s entry into the market won’t help.

Summary

This article does not make the point that Linux is dead on the desktop forever. It’s only for the relatively foreseeable future. However, the above points illustrate that Linux has a lot to overcome to become a success, and nothing over the past few years has made it easier or cheaper to accomplish.

Software For Creating An Appealing Computer Desktop

Here’s some other ideas to make your desktop attractive.

You designed an ideal desktop. Then, somebody, who shared computer with you, changed your desktop to his or her own idea. How can you turn it back to your favorite desktop setting?

If that happens to you, you may want to use “Easy Desktop Keeper”. This program’s main function is to save, restore or lock your desktop layout. You can download the program here.

Before using “Easy Desktop Keeper”, you should decorate your desktop. Be meticulous in color, icon and especially your taskbar. After designing, let “Easy Desktop Keeper” to capture everything of your desktop. At first, activate “Easy Desktop Keeper”. Then, click “Save” and type in file name. The saved file will appear in the window below. The extension is *.DKB.

When somebody changed your desktop, you only have to select the saved file and click “Load”. You can also design your wallpaper and use “Easy Desktop Keeper” to change it. The saved file is located in default folder C:\Documents and Settings\User\Windows Desktop Backups.

The symbol of “Easy Desktop Keeper” is always in your system tray. You can set the password by go to “Option” -> “Enable Password Protection”. “Easy Desktop Keeper” is a good idea to keep your favorite computer desktop but not bother other’s.

UberIcon Plugins- Create Effect When Opening Folder

To make your computer desktop attractive when you double-click a folder or an application, you should use “UberIcon Plugins” to create unique opening effect for the desktop. At first, you have to download the free version of “UberIcon Plugins” here. After installing the program, download all plug-ins (there are 7 effects) here and decompress them into the folder, where you install “UberIcon Plugins”. You will see the icon of “UberIcon Plugins” in the system tray.

In order to use “UberIcon Plugins”, right-click to its symbol locates in system tray and choose “Run at Startup”. Find your downloaded plug-ins and click your favorite one. They include Fly (your icons will mutlply into tiny ones as they spin out), Ripple (give your icons a watery effect), Runaway (icons fly in random directions off the monitor), Blur (faintly blurs your icons as they fade out), Roll (watch your icons peal off to the side), Break (have your icons break up into little squares and drip down as they fade out)… Then, open a folder or an application to watch your result.

If you want to exit this software, right click on its symbol and choose “Disable”. It would be great if you add screensaver and wallpaper in the same theme of your opening effect.

CursorXP- Make Your Cursor Stylish

When you feel boring with your mouse cursor, you can change them in many different styles with CursorXP. After installed, go to menu Start -> Control Pannel > Mouse and pick CursorXP tab. Under “Theme”, you can find many different kind of XP cursor waiting for you to pick.

Should You Buy A Laptop Or A Desktop Computer?

If you are shopping for a new computer, then you have to consider many things when deciding between a laptop or a desktop. Where will you be using your computer? Will it be at home or in your office? Offices tend to prefer desktop computers because they do not want the computers to be moved in the first place. You will also need to know what your budget is before you can decide to buy a laptop or a desktop. There is usually a big price difference between laptop and desktop computers.

As you are looking around for a computer, you want to know some of the main differences between laptops and desktops. The purpose of this article is to highlight the main differences between laptops and desktops. The rest of this article will cover those differences so you are prepared with the knowledge you need when making your decision.

– Desktop computers typically cost much less money than laptop computers. Laptops tend to cost more money than desktops because they are so compact and portable. What you are really paying for here is the convenience. For close to half the price of a laptop, you could get a comparable desktop. If you’re on a tight budget, this will probably be an important factor for you.

– Laptops can be much more difficult to repair and upgrade. Desktop computers, for the most part, are “plug and play.” You just open the desktop up, pop out what isn’t working, and replace it with a new part. I’ve done a lot of upgrades and replacements on my desktop; it’s always very easy. With laptops it’s not always this easy. Many laptops need to be serviced by a professional for repairs and upgrades.

– Desktop computers are far less likely to be stolen, simply due to the fact that they are harder move. Laptops are designed to be light weight and portable, which makes them super easy to steal. In other words, I’m not worried about anyone running off with my huge DELL that I don’t even want to move. This may sound kind of silly and obvious, but it is a very real point to be made. A lot of college kids have their laptops stolen right on campus by someone who just runs by and grabs it.

– Desktop computers have better ventilation, so they are less likely to overheat.

If you need your computer for travel, then obviously a laptop is the way to go. Other than that, though, there are really no benefits to having a laptop over a desktop computer. If anything, it’s other way around. Laptops are small, convenient, and can be taken anywhere… and that’s what you’re paying for when you get one. As far as specs, performance, and maintenance, desktops always give you more for your buck.

Desktop vs. Laptop: Which is Better?

I own both a laptop and a desktop computer, so I think I can provide an equal arguement for both subjects.

I’ve owned the desktop far longer than the laptop, but I’ve managed to note many pros and cons for both. Here they are.

Desktop

Don’t get me wrong, desktops are a very good choice if you want to buy a computer, but consider this before you fork over you’re money. They are more expandable than laptops, but they have a rather large footprint by comparison. You might have to buy two whole new pieces of furniture to acomidate thier size.

A desk and a chair(more money). Eventhough they are bigger, this makes them a lot easier to take apart and fix or upgrade. But bigger often means louder. Most desktops have a large and rather loud cooling fan. The size also means more clutter in the form of dust, wires, and sometimes, even bugs.

A desktop means a tower(the computer itself), and the screen being powered by two seperate plugs(more energy use). An upside to the size is the fact that desktops usually have more ports(USB, Firewire, etc.).

And worst of all, if you don’t have some sort alternate powersource in the case of a power outage, anything you would have been doing at the time would be rudely interupted. You would’nt have a chance to save you’re work and it would be lost.

Laptop

As my personal choice, I think laptops are the way to go. Most people think laptops are more expensive, believe me, thier not. My sister’s desktop cost in upwards of a thousand dollars, and it’s a nice computer. However my laptop only ran me about six hundred, and spec wise, is better in every way. It has a better graphics card, a bigger harddrive(by almost 60 gigs), and a better processor(hers being a celeron D, and mine being a AMD 64 Athlon X2 duel core).

Laptops are obviously more portable. On a downside, laptops are a lot harder to service and usually have to be fixed by a professional costing you more money. They are not as loud as desktops, but tend to overheat far more frquently mostly due to someone puting them on a blanket or a carpet, blocking the air vents. But as long as you don’t do any of that stuff, laptops are pretty safe.

When it all comes down to it, just take a look at the specs and decide to get a desktop or a laptop.

I’ve briefly outlined the pros and cons of both. Use them to make you’re decision.

Desktop Pros

  • Expandability
  • Easier to physicly repair
  • More customizable(physiacly)
  • Often safer overheating wise
  • Often more connections(USB, Firewre, etc.)

Desktop Cons

  • Bigger/Takes up more space
  • Often louder
  • Unportability
  • A lot of wires/Clutter/Dust trap
  • Power outage = computer shutdown

Laptop Pros

  • Portability
  • Battery Power(power outage won’t matter for a few hours
  • Small/small footprint
  • Often more quiet
  • No wires(only power and peripherals if any)

Laptop Cons

  • Can be unsafe overheating wise
  • Harder to repair physicly
  • Not as much room to expand or upgrade hardware
  • Often fewer conncetions(USB, Firewire, etc.)