LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 06-22-2018, 08:10 PM   #1
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 543

Rep: Reputation: 36
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.
 
Old 06-24-2018, 02:39 PM   #2
BW-userx
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

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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.
 
Old 06-24-2018, 03:27 PM   #3
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 543

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by BW-userx View Post
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.
 
Old 06-24-2018, 04:32 PM   #4
BW-userx
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

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
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/
 
Old 06-24-2018, 05:30 PM   #5
linuxbird
Member
 
Registered: Feb 2006
Distribution: Slackware
Posts: 543

Original Poster
Rep: Reputation: 36
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?
 
Old 06-24-2018, 05:54 PM   #6
BW-userx
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

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by linuxbird View Post
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.
 
  


Reply

Tags
java



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling java icedtea for openjdk 7 with openjdk 6 Alpha90 Programming 2 03-29-2015 01:32 PM
TD Ameritrade Thinkorswim crashing X server epitome Linux - Software 1 01-20-2015 09:16 PM
[SOLVED] Both java-1.7.0-openjdk and java-1.6.0-openjdk are installed ?? SharpyWarpy Linux - Software 2 01-16-2013 11:28 AM
OpenJDK 7 Install VisionIncision Slackware 19 04-26-2012 12:19 AM
Installing OpenJDK MTK358 Linux - Software 2 11-18-2009 08:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration