*
The moose likes Oracle/OAS and the fly likes java runtime environment is changing when i install Oracle 10g Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "java runtime environment is changing when i install Oracle 10g" Watch "java runtime environment is changing when i install Oracle 10g" New topic
Author

java runtime environment is changing when i install Oracle 10g

shiva valanukonda
Greenhorn

Joined: Sep 27, 2010
Posts: 25

HI,

Java runtime environment is changing when i install Oracle 10g.
I have installed Jdk/Jre 1.7 versions on my PC. It was working fine using Eclipse IDE too.

But when i install Oracle 10G , my JRE is pointing to 1.4 which comes with Oracle10g..
So, my Eclipse IDE not even opening now.
Please suggest me.

Thanks
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3606
    
  60

Oracle has put its directories in front of the others in the PATH environment variable and now the old Java comes sooner in the path. You need to move the path to the version of Java you want to use to the front of the list in the PATH variable.

I suppose you're on Windows. You can edit the path using Control Panel -> System -> Advanced -> Environment variables (the exact way depends on your version of Windows, please look the proper way for your version on the net if needed). Do not remove any entries from there, just reorder the paths (they are separated by semicolon and the editing can be quite cumbersome, as the value is much longer than the edit field.)
 
 
subject: java runtime environment is changing when i install Oracle 10g
 
Similar Threads
Eclipse is running in a JRE, but a JDK is required
How to use JDK & JRE without setting the path in environment variable
is there a quicker way to read in input besides bufferedreader?
install App server problem
Java runtime error cannot find java.dll