PDA

View Full Version : .jnlp Problem ruling in Ubuntu 18.04 and Odroid XU 4



field3d
April 23rd, 2019, 05:06 AM
I want to run eTrade Pro Paltform in Ubuntu. I have the latest Ubuntu 18.04 with an Odroid XU 4. I installed the latest Java dow loaded directly from Oracle 8u212 it runs fine but like I don’t know how to run a .jnlp I installed iced tea with this command:



sudo apt install icedtea-netx

My results of everything are:



root@odroid:~# java -version java version "1.8.0_212" Java(TM) SE Runtime Environment (build 1.8.0_212-b10) Java HotSpot(TM) Client VM (build 25.212-b10, mixed mode) root@odroid:~# javac -version javac 1.8.0_212 root@odroid:~# javaws -version selected jre: /usr/lib/jvm/default-java icedtea-web 1.8 (1.8)


When I run:



sudo javaws etpro_launch.jnlp

I receive these errors:



Warning - your JRE - 11.0.2 - does not match requested JRE - 1.8 Warning - your JRE - 11.0.2 - does not match requested JRE - 1.8 Warning - your JRE - 11.0.2 - does not match requested JRE - 1.8 Warning - your JRE - 11.0.2 - does not match requested JRE - 1.8 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. Starting application [com.etrade.proui.ProMain] ... log4j:WARN No appenders could be found for logger (session). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.

About the “Warning - your JRE - 11.0.2 - does not match requested JRE - 1.8”, despite I have the 1.8, the javaws who knows what installed with the command I have at the beginning. I think it installed another older version. Well with that version of Java continue running but the real problem is the “log4j” error messages. It stops there what could be the problem, or how can be fixed? Or how can I run a .jnlp properly?

TheFu
April 23rd, 2019, 04:00 PM
sudo keeps your environment, which is different from the root environment.
Running any GUI program as root is a huge, huge, huge, mistake. Don't. If you've done this before, then it is likely that files inside your HOME have become owned by root, not your userid. This is bad.

https://askubuntu.com/questions/740757/switch-between-multiple-java-versions explains how to change between different java versions on Ubuntu.

$ sudo update-alternatives --config java
will show the possible versions and let you choose which should be the system default. Changing this will likely break some other Java programs. Also, I don't think it sets JAVA_HOME, so I would assume that needs to be set to a correct value if you are setting it manually.

I have little recent knowledge about java. Never heard of or seen jnlp files before.

field3d
April 23rd, 2019, 08:28 PM
Ok Yes I selected the Java as you say. I have selected all the right. The problem is with the javaws because the new Java it doesn’t have javaws and you need to download iced tea and the problem I see here is the problem that sounds to something to configure: ”log4j:WARN No appenders could be found for logger (session).”

field3d
April 23rd, 2019, 09:04 PM
Or how can I enable the log: WARN Please initialize the log4j system properly.

field3d
April 25th, 2019, 12:02 AM
I downloaded the latest Oracle Java in Ubuntu and also I installed iced tea to run .jnlp. After so long as you see I had some troubles with the start if the .jnlp but I make it run and solve the last errors pointing the settings to the directory of Java JRE inside. the iced tea settings but the .jnlp and is almost run but when it will enter I have a crash with this error message:


javafx/beans/property/readonly object property internal error occurred. Please contact customer support


Here are the full logs on pastebin since is running until it crash:
https://pastebin.com/dZWuqhQK
What could be the problem now?

solo882
April 28th, 2019, 12:47 AM
I'm having a hell of a time getting Etrade Pro to run as well. I manually installed the tarball file of Oracle jdk 8 and when I tried installing icedtea it auto installed java 11. I also got the exact same "readonly" error just when I thought it was going to work. This is all new because Oracle recently delected the java 8 ppa. Anyone able to figure this out yet?

field3d
April 30th, 2019, 02:00 AM
I downloaded the latest Oracle Java in Ubuntu and also I installed iced tea to run .jnlp. After so long as you see I had some troubles with the start if the .jnlp but I make it run and solve the last errors pointing the settings to the directory of Java JRE inside. the iced tea settings but the .jnlp and is almost run but when it will enter I have a crash with this error message:


javafx/beans/property/readonly object property internal error occurred. Please contact customer support


Here are the full logs on pastebin since is running until it crash:
https://pastebin.com/dZWuqhQK
What could be the problem now?