GeeCON Prague 2014*
The moose likes Beginning Java and the fly likes JVM stuck on version 1.4 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "JVM stuck on version 1.4" Watch "JVM stuck on version 1.4" New topic
Author

JVM stuck on version 1.4

Jonathon Stride
Ranch Hand

Joined: Aug 06, 2009
Posts: 34
so i had JRE 1.6 installed on my machine
then i installed oracle 10g, somehow it installed JRE 1.4 on my comp and set it to default

reinstalling JRE 1.6 doesnt help , the Classpaths and paths are all JRE 1.4 and when i type
java -version in command prompt i get version 1.4

any idea regarding how to remove 1.4 and go back up to 1.6
thnx----


2 interviews failed cause of not having SCJP ( and counting...)
not anymore !

SCJP 6 (70%)

now ready to count other reasons :P...
Jonathon Stride
Ranch Hand

Joined: Aug 06, 2009
Posts: 34
got it working , deleted CLASSPATH and PATH variables then reinstalled JRE 1.6
anyone has a better way to do it ?
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3833

Jonathon Stride wrote:got it working , deleted CLASSPATH and PATH variables then reinstalled JRE 1.6
anyone has a better way to do it ?

You could've edited only PATH to switch between JDK versions.


SCJP 5 | SCWCD 5
[How to ask questions] [Twitter]
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 39076
    
  23
Oracle has a bad reputation for installing old versions of Java and editing the PATH.
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3833

Campbell Ritchie wrote:Oracle has a bad reputation for installing old versions of Java and editing the PATH.

They can do anything with it now as they are going to buy SUN
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

Ehm, going to? The sale is already finalized, isn't it?


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Vijitha Kumara
Bartender

Joined: Mar 24, 2008
Posts: 3833

Rob Prime wrote:Ehm, going to? The sale is already finalized, isn't it?

I was not quite sure about it
 
GeeCON Prague 2014
 
subject: JVM stuck on version 1.4