Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-22-2018, 08:10 PM
|
#1
|
Member
Registered: Feb 2006
Distribution: Slackware
Posts: 543
Rep:
|
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.
|
|
|
06-24-2018, 02:39 PM
|
#2
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
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.
|
|
|
06-24-2018, 03:27 PM
|
#3
|
Member
Registered: Feb 2006
Distribution: Slackware
Posts: 543
Original Poster
Rep:
|
Quote:
Originally Posted by BW-userx
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.
|
|
|
06-24-2018, 04:32 PM
|
#4
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
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
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/
|
|
|
06-24-2018, 05:30 PM
|
#5
|
Member
Registered: Feb 2006
Distribution: Slackware
Posts: 543
Original Poster
Rep:
|
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?
|
|
|
06-24-2018, 05:54 PM
|
#6
|
LQ Guru
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342
|
Quote:
Originally Posted by linuxbird
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 07:32 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|