Many of the major Linux distributions come bundled with OpenJDK Java instead of the “standard” Sun Java or — since Sun Microsystems acquisition by Oracle in 2010 — Oracle Java. One such distro is Fedora, for example. Open JDK is ok in most cases but there are situations where you need to install the “real” […]
Java
Tips related to Java programming and general JAVA usage.
Embedding resources in netbeans (Java JAR files)
Suppose you want to add some images to your JAR Java application. This has several advantages such as security, portability, conveninece for you and your users (don’t need to copy around several files – everything is nicely packaged and embedded into one JAR file). How can we embed the resources into the app (the .jar)? […]