JDeveloper 10.1.2 and Linux-x86_64 with JDK 1.5 (64-bit)

For those running on 64-bit Linux (e.g. using AMD64 CPUs) it is possible that you have 64-bit JDK 1.5 pre-installed. This is the case at least with Fedora Core 4.0 (64-bit).

If you want to get 10.1.2 JDeveloper running with JDK 1.5 you might get an error message such as:
Error: Hotspot VM not supported
Error: JDeveloper can't recognize the JDK version

Tha last error message is because of the first. To work around this you should edit the $JDEV_HOME/jdev/bin/jdev.conf -file and comment out the line that shows:
SetJavaVM hotspot

After this you should be able to start JDeveloper 10.1.2.

You might get some weird sticky startup screen showing in front of the initial questionnaire windows. After passing these (either try moving the windows or just pressing Enter) you should be fine with JDeveloper.


ttimo said...

most useful, thank you sir! spent 2 hours trying to get their stuff working.

Alessandro said...

Thanks, very useful. I discovered that you can also launch Jdev with the option -classic, in this case no config editing is necessary

Violão? said...

It shows a blank window when using compiz under linux. With compiz disable it works great.

Dima said...

Thank you for the solution. I had a similar problem with JDK6 (64-bit). There is an additional step to perform:

2) Edited the jdev script and changed [0-5] to [0-6] in the line
if [ `expr "$s" : 'java version \"1\.[0-6].*\"'` -le 0 ]

Taken from here: http://forums.oracle.com/forums/thread.jspa?threadID=483843


Anonymous said...

Tks Very Much HArry!!!!

Saumya Mittal said...

Oracle JDeveloper 10g 10.1.3
Copyright 1997, 2005 Oracle. All Rights Reserved

Error: hotspot VM not supported
Error: JDeveloper can't recognize the JDK version

I dont know what to do next , I tried the above options but for those it saying no such directory or file exist.