LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Thinkorswim not running with openJDK (https://www.linuxquestions.org/questions/linux-software-2/thinkorswim-not-running-with-openjdk-4175632501/)

linuxbird 06-22-2018 08:10 PM

Thinkorswim not running with openJDK
 
Thinkorswim (a platform for trading) will not run with openJDK.

Code:

JavaFX is not found in Java used by thinkorswim.
Please set Oracle Java 8 as default java for thinkorswim
java must include JavaFX and Oracle java 8 has it, but OpenJDK 8 has not.

So this thread talks about this problem,

Code:

https://www.linuxquestions.org/questions/linux-software-2/alternatives-how-to-use-specific-group-|-how-to-make-thinkrswim-work-with-oracle-sun-and-openjdk-4175511760/
I have two questions. First, can someone show me how I should install both versions of java at the same time? Second, reading, it appears that OpenJDK is supposed to have JavaFX, but apparently not. If I wanted to test for that, how would I do so?

Thanks.

BW-userx 06-24-2018 02:39 PM

why don't you install oracle jdk, instead it only takes a simple yes and its still free for the most part, to use anyways as far a I know, I've never had anything bad happen to me for using it. whenever I do/did.

just install them one at a time, then set the path and java_home to which ever one you're using to whatever needs to use whichever version. if one of the softwares do not or cannot use the newer version.

linuxbird 06-24-2018 03:27 PM

Quote:

Originally Posted by BW-userx (Post 5871441)
why don't you install oracle jdk, instead it only takes a simple yes and its still free for the most part, to use anyways as far a I know, I've never had anything bad happen to me for using it. whenever I do/did.

just install them one at a time, then set the path and java_home to which ever one you're using to whatever needs to use whichever version. if one of the softwares do not or cannot use the newer version.

That is what I am asking for assistance in getting right.

BW-userx 06-24-2018 04:32 PM

https://docs.oracle.com/javase/8/doc..._overview.html
if you cannot remove your old java, leave it, it is / should install into its one version directory, then you'll just need to check your
Code:

JAVA_HOME
JAVA

paths. if they are not pointing to the current one, then you have to export them, ( I go into the profile file and manually edit them, but that's me, and it was not for Java, I do not really use Java on my system.) ;)
https://docs.oracle.com/cd/E19509-01...dk_javahome_t/

linuxbird 06-24-2018 05:30 PM

As near as I can tell, I need JDK so that I can run libreoffice, and other packages. So I was thinking that I would use alienbob's openJDK, and install that. Then I would like to install the Oracle JRE for thinkorswim. So how should I execute that install, to target a specific place for the JRE (which has the javaFX that thinkorswim needs)?

Then, to run thinkorswim, I would do it from a script, which would change the JAVA_HOME for thinkorswim. Presumably any other execution, without that script, would use the JAVA_HOME for the openJDK installation.

So how do I install the JRE in a different location?

BW-userx 06-24-2018 05:54 PM

Quote:

Originally Posted by linuxbird (Post 5871505)
As near as I can tell, I need JDK so that I can run libreoffice, and other packages. So I was thinking that I would use alienbob's openJDK, and install that. Then I would like to install the Oracle JRE for thinkorswim. So how should I execute that install, to target a specific place for the JRE (which has the javaFX that thinkorswim needs)?

Then, to run thinkorswim, I would do it from a script, which would change the JAVA_HOME for thinkorswim. Presumably any other execution, without that script, would use the JAVA_HOME for the openJDK installation.

So how do I install the JRE in a different location?

how is thinkorswim being started? does it have anywhere within it a configure option where you can tell it where to look for the java? So you can point it to the one that will work with it. other wise as far as I know you have to configure a means to tell thinkorswim at the time of execution where to look or set the environment for Java up to the correct Java just prior to so thinkorswim will know where to look for it via using your PATH statements includes.


All times are GMT -5. The time now is 04:51 AM.