PRT on Ubuntu

Viewing 15 posts - 1 through 15 (of 15 total)
  • #55131
    Seb

    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.

    1 user thanked author for this post.
    #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).

    #55186
    AVT

    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.

    1 user thanked author for this post.
    avatar Seb
    #55320

    Thanks for your reply AVT.

    You can also use IcedTea Indeed.

    More info here : https://icedtea.classpath.org/wiki/Main_Page

    #103664

    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.

    #103667

    Better way to get a support on this particular problem is to directly send a report through the platform.

    #103945
    Hello,
    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/jre

    2

    4. Go into the “Extended applet security” section
    5. Set the level to low as followed:
    36. Click on apply and then OK
    7. Try again to launch ProRealTime

    Best Regards,

    Maria

    #103997

    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

    #104000

    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!

    #106988
    SLG

    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

    #119752
    LO

    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…

    #119765

    You should send a technical report for this Linux issue.

    #119948

    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.

    #189624

    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?

    #191219

    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.

Viewing 15 posts - 1 through 15 (of 15 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login