• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Win98 and JDK 1.3 Installation woes is me

 
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I finally broked down (mostly because of being broke) and bought one of these here Wintel machines (HP Pavilion).
I downloaded and installed the Sun JDK 1.3 into c:\java\jdk1_3 and have added the appropriate PATH statement to I can java and javac from anywhere.
The problem is that there was, unbeknownst to me, a copy of the JRE 1.3 already installed in c:\program files\javasoft\jdk1.3\jre and because of the Java 2 class look up specification, I am having all kinds of troubles:
PATH points to the tools in c:\java\jdk1_3\bin
sun.boot.class.path points to the c:\program files\javasoft\jdk1.3\jre
Although Sun in discouraging use of the CLASSPATH variable in favor of the -classpath switch (ha, like that will ever catch on), many of the utilities and programs that I run still depend on CLASSPATH being there and set to certain values. So far the only approach that has worked is a CLASSPATH setting the completely ignores the existence of sun.boot.class.path.
1) How do I change the value of sun.boot.class.path? The Sun site mentioned something about registry in c:\windows\system but nothing looked familiar.
2) Can I just copy the fuller JRE from the JDK 1.3 over the small JRE 1.3 in the other directory and then set the CLASSPATH to cover the tools.jar and others?
3) Can I uninstall the c:\program files\javasoft\jre and have the other JRE decide that sun.boot.class.path must be somewhere else (ie, c:\java\jdk1_3\jre)?
Mysteries abound; help would be appreciated.
Steve
sgwbutcher@bigfoot.com
 
Ranch Hand
Posts: 164
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Steve,
Did you use the RegEdit program? The regedit program is in hte c:\windows subdirectory. You should be able to search the registry with the find command under the Edit menu. Be sure to backup the registry before you start messin' with it!!
Good luck.
 
sgwbutcher
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
No I didn't try that because I am a Windos(e) idiot...I literally bought a (cheap) machine this weekend because I got tired of waiting for MacOS X to come out and I really don't have a good Mac to run it on anyway and I need to do Java 2 development...so I sold my soul (rented is more like it) to the Dark Lord for a while.
Thank you very much for your help...it appears to have worked.
BTW, if anyone else wants to try...you won't find a "sun.boot.class.path" or similar variable in the registry. You have to go through for each JavaSoft software component and change (1) where "JavaHome" is and (2) where the "RuntimeLib" is. After that, it appears to work OK...now we'll see if it it can find stuff in the ext folder...hahaha.
Thanks again.
Steve
 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I had a similar problem.
Just uninstall all versions and reinstall Java2. It works like a dream.
Good Luck,
Ambi
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic