Skip to Main Content

SQL Developer

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Unable to find Java Virtual Machine

718714Aug 22 2009 — edited Aug 22 2009
I just installed jdk-6u16 in my 64-b Vista PC and got that error when launching SQL Developer 1.5.5

I can also see a Command Prompt window when this happens, and it says ERROR: Cannot find VM at C:\Program Files\Java\jdk1.6.0_16 which is the folder I used to install JDK

Any ideas?

Comments

Paul M.
I have set the $ORACLE_HOME path aswell
But you didn't set it within PATH environment variable, for example
$ export PATH=$ORACLE_HOME/bin:$PATH
Dude!
The following should work:
[root@ol1 ~]# su - oracle
[oracle@ol1 ~]$ . oraenv
ORACLE_SID = [oracle] ? yoursid
The Oracle base has been set to /u01/app/oracle
[oracle@ol1 ~]$ which sqlplus
/u01/app/oracle/product/112/db/bin/sqlplus
alvaromiranda
Hi there

try dude suggestion, but you got the wrong oracle home

checking the output you should do

export ORACLE_HOME=/home/oracle/app/oracle/product/11.2.0/dbhome_1

export PATH=$ORACLE_HOME/bin:$PATH

you should set the ORACLE_SID as the db instance, but with the PATH and the proper ORACLE_HOME you will get sqlplus

Alvaro.
1 - 3
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 19 2009
Added on Aug 22 2009
1 comment
1,793 views