Skip to content

2024

Alternatives to Oracle Java / Web Start

There are a few alternatives to Oracle Java, including an alternative for Java WebStart (which Oracle deprecated).

NamePriceJCK certifiedVersionsOpenJFX/JavaFX¹Supported platforms
Eclipse Adoptiumfreeno8+noLinux (.deb, .rpm, .tar), Mac, Windows
Amazon Correttofreeyes8, 11Bundled with 8 onlyLinux (.deb, .rpm, .tar), Mac, Windows
Azul Zulufreeyes6+Bundled (choose JDK FX download)Linux (.deb, .rpm, .tar), Mac, Windows
Bellsoft Libericafree8+Bundled (choose Full JDK download)inux (.deb, .rpm, .tar), Mac, Windows
Oracle OpenJDKfreeyes7+Linux (⚠ .tar only), Mac, Windows
Red Hat OpenJDKfreeyes8+Separate download for Java 8, Windows onlyLinux (⚠ RHEL only), Windows

Due to Oracle no longer releasing updates for long-term support (LTS) releases under a permissive license, others have begun offering builds.Linux distributions have always offered their builds, and Windows also offers one now, which can be installed with the Windows Package Manager.

cyber-security

JAVAFX

Oracle no longer maintains JavaFX/OpenJFX. At present it appears Gluon is currently developing JavaFX and provides it as a separate download: https://gluonhq.com/products/javafx/

https://adoptium.net/temurin/releases/

https://adoptium.net/temurin/archive/

Oracle JRE (Web Start) Alternative
Java JRE alternatives (Web Start) can be a combination of (AdoptOpenJDK and icetea-web)

What is Iced-Tea-Web
https://adoptopenjdk.net/icedtea-web.html

What is OpenWebStart
OpenWebStart is an open-source implementation of the Java WebStart technology, which was deprecated by Oracle in Java 11. OpenWebStart provides a similar experience, allowing you to launch Java applications from the web.

  1. Supports JNLP (Java Network Launch Protocol).
  2. Compatible with various JDK distributions.
  3. Regular updates and community support.

Installation: OpenWebStart can be installed independently of the JDK, and it works with any of the above alternatives

What is OpenWebStart?

OpenWebStart is an open source reimplementation of the Java Web Start technology. It provides the most commonly used features of Java Web Start and the JNLP standard, so that your customers can continue using applications based on Java Web Start and JNLP without any change. OpenWebStart is based on Iced-Tea-Web and the JNLP-specification defined in JSR-56.

Summary:
For a free, open-source alternative with continued support, OpenJDK or Eclipse Temurin is a great choice.

For enterprise needs, Zulu or Amazon Corretto are excellent options, offering more stability and long-term support.

For replacing Java WebStart, OpenWebStart is the go-to solution across all these JDKs.

Which one to Choose?
If you're looking for a modern, actively developed alternative that closely mirrors Oracle’s original Java WebStart, OpenWebStart might be the better choice. It offers a more refined user experience and advanced features like multiple JRE management.

If you prefer a more mature, widely-used tool with a proven track record, IcedTea-Web could be more reliable, especially if you're working in environments where it has already been adopted.

Which one to choose

Eclipse Temurin OpenJDK for Java and for WebStart Iced-Tea-Web or OpenWebStart that will be based on IcedTeaWeb.

Web Articles

Clear the Java Web Start (javaws) cache

  1. Open your computer's DOS prompt by selecting the Start menu followed by the Run option. Then, enter command followed by pressing the Enter key.

  2. Type javaws at the DOS prompt followed by the Enter key to see the Java Web Start command-line options.

  3. Type javaws -Xclearcache followed by the Enter key to clear Java Web Start Cache on your computer. After the cache has been cleared, the local drive prompt will appear on the DOS prompt.

This will be the command to clear cache

// Remove all non-installed applications from the cache.
javaws -clearcache 
// Remove all applications from the cache
javaws -uninstall

Alternatively, do the following:

  1. Delete the cache folder located on Windows
    "C:\Users\<user>\AppData\LocalLow\Sun\Java\Deployment"
    
  2. For other Operating System versions, you might have to do the delete operation in the appropriate Sun Java folder.

Articles Web

You can do it using Java Control Panel

How do I clear the Java cache?

How can do it in command line?

How to check all the apache httpd processes in Linux

When we want to find a list of processes running on a Linux box, we use.

ps -fax
Now apply the grep command to filter out only httpd process list.
ps -fax | grep httpd

or

ps -ef | grep httpd

To know the number of httpd processes running apply ‘wc -l’ command like

ps -fax | grep httpd | wc -l
ps -ef | grep httpd | wc -l

[Fixed] Unsigned application requesting unrestricted access to system

Subject/ Problem Description

The following error is displayed when launching applications signed with the MD5withRSA or MD5withDSA algorithms after upgrading to Java.

Unable to launch the application.
Unsigned application requesting unrestricted access to system
Unsigned application requesting unrestricted access to system. 
The following resource is signed with a weak signature algorithm MD5withRSA 
and is treated as unsigned: http://example.net/ExampleApplication.jar
Symptoms / Root Cause:

Applications signed with the MD5withRSA or MD5withDSA algorithms are treated as unsigned by Java starting with the Java 8 Update 131 release.

How to set semaphore limits

In some scenario, the application had a semaphore limit issue. We need to increase some semaphore limits, such as semaphore array.

How do we set the semaphore limits?

What values should we set for the semaphore limits?

# ipcs -ls

------ Semaphore Limits --------
max number of arrays = 1024              ## SEMMNI
max semaphores per array = 250           ## SEMMSL
max semaphores system wide = 256000      ## SEMMNS
max ops per semop call = 32              ## SEMOPM
semaphore max value = 32767

What is -h vs --help in Linux command?

-h vs --help

To sum up, the Linux shell provides access to help information for commands through both -h and —help.

However, —help is a more uniform and universal option that may be used with a variety of commands. Shorter and occasionally used, -h can have varying availability and significance.

It is advised to use --help to reliably obtain help information, particularly for commands that are unknown.

Forward slash vs Backslash

Backslash (Windows) and Forward Slash (Linux)

The documentation uses backslashes ( \ ) for Windows and forward slashes ( / ) for Linux environments. When the documentation mentions a backslash, the forward slash implicitly applies to Linux.

Linux vs Windows Commands

SNo.WindowsLinuxDescription
1.dirls -lDirectory listing
2.renmvRename a file
3.copycpCopying a file
4.movemvMoving a file
5.clsclearClear Screen
6.delrmDelete file
7.fcdiffCompare contents of files
8.findgrepSearch for a string in a file
9.command /?man commandDisplay the manual/help details of the command
10.chdirpwdReturns your current directory location
11.timedateDisplays the time
12.cdcdChange the current directory
13.mdmkdirTo create a new directory/folder
14.echoechoTo print something on the screen
15.editvim(depends on editor)To write in to files.
16.exitexitTo leave the terminal/command window.
17.formatmke2fs or mformatTo format a drive/partition.
18.freememTo display free space.
19.rmdirrm -rf/rmdirTo delete a directory.
20.taskkillkillTo kill a task.
21.tasklistps xTo list running tasks.
22.set var=valueexport var=valueTo set environment variables.
23.attribchown/chmodTo change file permissions.
24.tracerttracerouteTo print the route packets trace to network host.
25.atcrondaemon to execute scheduled commands.
26.typecatTo print contents of a file.
27.pingpingTo send ICMP ECHO_REQUEST to network hosts.
28.nslookupnslookupTo query Internet name servers interactively.
29.chdiskdu -sFor disk usage.
30.treels -RTo list directory recursively.