You are not logged in.
I use an IDE called PyCharm. On its download page, it recommends using Java 6 instead of OpenJDK. I currently have jdk7-openjdk installed, and from what I had read in the Arch Wiki on Java, it should be possible to install Oracle Java 6 along side OpenJDK 7.
However, after installing jdk6-compat and jre6-compat, I still see that I am running OpenJDK 7 when I run the following:
% java -version
java version "1.7.0_09"
OpenJDK Runtime Environment (IcedTea7 2.3.3) (ArchLinux build 7.u9_2.3.3-1-x86_64)
OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
...even after I have set JAVA_HOME and added /opt/java6/bin to my path.
How can I get PyCharm (or other applications) to use Oracle Java 6 instead of OpenJDK?
Thanks, and apologies if I've posted in the wrong place.
Other information that might be helpful:
Running zsh as default shell
Using Gnome 3 as DE
Last edited by Nikorasu (2012-11-17 20:54:33)
Offline
Has anyone run into any similar problems? For example, has someone wanted to run minecraft under a different JDK/JRE than normal? I'm sure I could figure something out from even that. I just don't have any idea where to start on this as there's little information on using the jre6-compat or jdk6-compat packages.
Offline
I found the solution.
For Pycharm, I just needed to add an environment variable PYCHARM_JDK. For running specific applications, I asked this question on the Unix / Linux StackExchange and got an answer there.
Also, after running PyCharm in Java 6... I would not recommend it. OpenJDK works fine
Last edited by Nikorasu (2012-11-17 20:55:01)
Offline