Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

oracle has got me by my sdk prefs

 
andrew beales
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello I have installed oracle 9 release2 and my previous sdk 1.4.02b3 has been relegated behind oracle 1.3 sdk installation.
How do I set my sdk back to 1.4 ?
I have my path and Java home set to 1.4?
I am using XP pro.
Please help me if you can.Thank you
 
leo donahue
Ranch Hand
Posts: 327
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by andrew beales:
Hello I have installed oracle 9 release2 and my previous sdk 1.4.02b3 has been relegated behind oracle 1.3 sdk installation.
How do I set my sdk back to 1.4 ?
I have my path and Java home set to 1.4?
I am using XP pro.
Please help me if you can.Thank you

Hi Andrew,
It's been awhile since I ventured into these parts. I think there are two ways to solve your problem. First, I am running Oracle 9iDS (Developer Suite) Release 2. Are we on the same page? Do you have JDeveloper? If so, open Oracle 9i JDeveloper and click on the Project Menu. Choose the "Default Project Settings" Menu Item. From there you should see a directory tree. Under "Development" you should have a selection called "Libraries". When you choose this, there is a GUI that lets you select which J2SE version you want to use. By default, mine is set to 1.3.1_02 Just change it to the JDK you want.
If this method doesn't work for you, try looking at your classpath variable again. When I installed Oracle, it put the path to Oracle's JDK version 1.3.1_02 before the path to my more recent version of the JDK. You can try moving the path to the newer JDK in front of the path to the Oracle JDK. That way, the JVM should use the first one listed in the classpath variable and skip the older one. Follow me?
Good luck.
Leo
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When it comes to pathing issues. Java looks in order of the entry in the environment variable. You can always change that order yourself. Putting the Sun's sdk first then Oracle's
Mark
 
andrew beales
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much I repostioned my jdk with its bin to my path.Much Appreciated!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic