Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

How to set Java ?

$
0
0
Good day!
I going to launch Android Studio and install IntelliJ IDEA to my OpenSuse 12.1.
When I begun to do it I had seen:
"tools.jar' seems to be not in IDEA classpath. Please ensure JAVA_HOME points to JDK rather than JRE. "
I changed JAVA_HOME strings in files: /etc/profile.d/alljava.sh and /etc/profile.d/alljava.csh to another path and next message had appeared:
"OpenJDK 6 is not supported. Please use Oracle Java or newer OpenJDK."
So, I install JDK 7 from oracle website, but nothing has change, and I changed "alljava" files back, but message still: "OpenJDK 6 is not supported. Please use Oracle Java or newer OpenJDK."

What I need to do to make it work?
If somebody can tell how does programs use JDK, and what files is using for set global variables for environment - it will be really great.
Thnx in advantage.

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>