SebParticipant
Average
Anybody successful in running PRT on Ubuntu? I’ve installed the java runtime environment via the terminal, but I can’t open the PRT java file.
Hi Seb,
If you experience launching issues with ProRealTime on Ubuntu, I advise the following:
- Uninstall all java versions installed on your computer (including openjdk).
- Install the java version for Linux released by Oracle by following the instructions from the Java website
You can also find the following article on wikihow with very detailed instructions : https://www.wikihow.com/Install-Oracle-Java-JRE-on-Ubuntu-Linux (note however that I have not personally tried to follow the instructions from this page).
AVTParticipant
Senior
The jre is managed by IcedTea (files later in /usr/share/icedtea-web).
And in firefox (about:preferences) filetype: JNLP-file action: open with IcedTea Java Web Start
Works here for many years.
Thanks for your reply AVT.
You can also use IcedTea Indeed.
More info here : https://icedtea.classpath.org/wiki/Main_Page
I have a problem starting PRT on ubuntu. I am using iced-tea’s javaws, with Oracle’s jdk-12.0.2. Whether I launch PRT from the chrome download bar (double-clicking the jnlp file) or from the command line with “javaws StartProRealTime.jnlp” I get the same results. I get the splash screen, the message about downloading prorealtime, which completes, and then a tiny window pops up with nothing in it except “Error” in the title bar. I got this resolved once before, but then I had to reinstall ubuntu, and now I cannot remember what I did to solve the problem last time.
Could someone please review the technical details below, along with the attached zipped log file, and let me know how to solve this?
Thanks,
David
——-
Here is some configuration info, an “ls -la /etc/alternatives/java*:
lrwxrwxrwx 1 root root 32 Jul 28 12:14 /etc/alternatives/java -> /usr/lib/jvm/jdk-12.0.2/bin/java
lrwxrwxrwx 1 root root 33 Jul 28 12:14 /etc/alternatives/javac -> /usr/lib/jvm/jdk-12.0.2/bin/javac
lrwxrwxrwx 1 root root 31 Jul 28 12:14 /etc/alternatives/javaws -> /usr/lib/icedtea-web/bin/javaws
Here is my JAVA_HOME environment variable and path showing the right path to java:
echo $JAVA_HOME
/usr/lib/jvm/jdk-12.0.2
echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/jdk-12.0.2/bin
Running it from a command line and capturing the output, here is the output to stdout:
selected jre: /usr/lib/jvm/jdk-12.0.2
Codebase matches codebase manifest attribute, and application is signed. Continuing. See:
http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/security/no_redeploy.
html for details.
netx: Launch Error: Could not launch JNLP file. ( (java.lang.SecurityManager.checkTopLevelWindow(Ljava/lang/Object;)Z))
I have attached a file with the detailed output written to stderr. Because it is over 2M, I had to zip it.
Better way to get a support on this particular problem is to directly send a report through the platform.
Maria,
Thank you for this solution. In trying to apply it, I discovered I did not have Java 8 installed. I pulled down and installed Oracle’s Java 8 jdk, ran the configuration commands to make it my default java version, and everything is working again. Just wanted to mention this in case anyone else has a similar problem in the future…
Thanks,
David
Just to append to/clarify this. It worked better when I pulled down OpenJDK 8, ran the configuration commands, and also followed Maria’s instructions provided above. The app is now working very well!
Thank you!
SLGParticipant
New
Dear friends,
I am still having the same problem with Iced Tea. I have followed Maria’s instructions and still no luck. All was smooth and nice and then one day just stopped to work. It starts the Iced tea plugin but the error comes up.
This is the error I get. By the way, just to let you know I have tried deleting and installing Java many times and versions but still does not work. I hope somebody can help as this is very annoying.. Thank you very much in advanced.
—————————————
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line.
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:822)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:531)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:945)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Unknown Main-Class. Could not determine the main class for this application.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:774)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:338)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:421)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:495)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:468)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:814)
… 2 more
LOParticipant
Junior
Hi, I have the same trouble as SLG.
I have tried Marias solution, but no luck.
PRT has worked great for a couple of years, but all of sudden it stops and I get this error, see attached file.
Could anyone help on this matter?
Running Debian and Kali, both worked great in the past but not anymore. Also tried to reinstall Linux and disable X11 but no luck…
You should send a technical report for this Linux issue.
Hello,
Launching issues on Linux usually come from Java 11 which no longer supports the platform ProRealTime.
I invite you to reinstall Java 8 to be able to launch ProRealTime correctly.
Note that this is a temporary solution, and we are currently working on a new launcher for Linux, which should solve most launching issues.
Best regards,
Sébastien from ProRealTime.
Hello,
Launching issues on Linux usually come from Java 11 which no longer supports the platform ProRealTime.
I invite you to reinstall Java 8 to be able to launch ProRealTime correctly.
Note that this is a temporary solution, and we are currently working on a new launcher for Linux, which should solve most launching issues.
Best regards,
Sébastien from ProRealTime.
Hello, is that solution still the one? I tried PRT on Zorin OS and Java 11 is not working but Java 8 is.
and with the new PRT, what java will be the good one?
Hello Amanula, if you want up-to-date information on launching ProRealTime with Linux the best way is to contact the PRT support team at
support@prorealtime.com and give them all the details about your set up and describe the issues you are facing if any.