This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 3431
    
  47

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.)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java runtime environment is changing when i install Oracle 10g
 
Similar Threads
is there a quicker way to read in input besides bufferedreader?
install App server problem
How to use JDK & JRE without setting the path in environment variable
Eclipse is running in a JRE, but a JDK is required
Java runtime error cannot find java.dll