PRT on Ubuntu
Forums › ProRealTime English forum › ProRealTime platform support › PRT on Ubuntu
- This topic has 14 replies, 2 voices, and was last updated 2 years ago by RafaelN.
-
-
12/08/2017 at 3:44 PM #5513112/08/2017 at 5:16 PM #55163
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).
12/08/2017 at 7:11 PM #55186The 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.
1 user thanked author for this post.
12/11/2017 at 9:56 AM #55320Thanks for your reply AVT.
You can also use IcedTea Indeed.
More info here : https://icedtea.classpath.org/wiki/Main_Page
07/28/2019 at 5:32 PM #103664I 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/javawsHere is my JAVA_HOME environment variable and path showing the right path to java:
echo $JAVA_HOME
/usr/lib/jvm/jdk-12.0.2echo $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/binRunning 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.
07/28/2019 at 6:42 PM #10366708/01/2019 at 9:26 AM #103945Hello,You’ll find below a workaround to launch your ProRealTime platform when using IcedTea.1. Look for the IcedTea Web Control pannel
2. Go into the “JVM settings” sections
3. Paste the following path in the second text input: /usr/lib/jvm/java-8-openjdk-amd64/jre4. Go into the “Extended applet security” section
5. Set the level to low as followed:
6. Click on apply and then OK
7. Try again to launch ProRealTimeBest Regards,
Maria
08/01/2019 at 9:25 PM #103997Maria,
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
08/01/2019 at 10:00 PM #10400009/09/2019 at 6:04 PM #106988Dear 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 more02/16/2020 at 11:05 PM #119752Hi, 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…
02/17/2020 at 10:43 AM #11976502/19/2020 at 1:59 PM #119948Hello,
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.
03/08/2022 at 4:36 PM #189624Hello,
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?
04/05/2022 at 11:38 AM #191219Hello 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.
-
AuthorPosts
Find exclusive trading pro-tools on