• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

How to install JAVA to my Win98?  RSS feed

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,
I downloaded the j2se v1.4 from the Sun to my C:\Program Files\Java. Then I don�t know what to do. I use the Windows 98, can anyone kindly tell me how to do the next?
 
Ranch Hand
Posts: 424
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Up to now I do not love version 1.4, because all my applets do not work anymore.

Peter, in IE, go to "Tools", "Internet Options", "Advanced" and uncheck the box that says something like, "Use Java2 v1.4 for <applet> (requires restart). Then your applets should work again.
[ June 11, 2002: Message edited by: Marilyn deQueiroz ]
 
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Find the file you downloaded, j2skd-1_4 ...
Double click on it. Accept all the defaults that InstallShield presents to you. It's installed.

Perhaps this page will be of some help to you.
 
Marilyn de Queiroz
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm sorry, Peter. I accidentally edited your post instead of quoting it. Please forgive me.
 
Lydia Zhang
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Marilyn,
I installed the 1.4, then when I run the HelloWorld.java from the MS-DOS, it gave me "Bad command or File name". From the instruction of "Cattle Drive", I don't know where can I set the ClassPath?
 
Marilyn de Queiroz
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to edit your autoexec.bat file. One way to do this is to go to your Start button, "Run", type "sysedit" (without the quote marks). You'll see PATH there. You'll have to add CLASSPATH.
 
Sheriff
Posts: 4012
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lydia
I found this thread from a couple months ago, it looks like this problem has been around for a while.
A couple answers give examples of setting the paths.
http://www.coderanch.com/t/391207/java/java/install-Java
 
Lydia Zhang
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I opened my autoexec.bat file from the Run, then I saw one and only one line: "@C:\PROGRA~1\GRISOFT\AVG6\bootup.exe" in that file (without the quote marks). How can I add the CLASSPATH? What should it look like? My 1.4 is installed in my "C:\Progarm Files\Java" directory.
 
Marilyn de Queiroz
Sheriff
Posts: 9099
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
After the @... I would type:
SET PATH=%PATH%;C:\jdk1.4\bin;C:\jdk1.4\jre\bin;
SET CLASSPATH=.;C:\Java

Hmmm, which subdirectory is your javac.exe file located in? I'm wondering if you downloaded just the JRE rather than the JDK. If so, you can run java programs, but not compile them ("javac" won't work)

Do you have something that looks like C:\Java\jdk1.4\bin\javac.exe ??
[ June 11, 2002: Message edited by: Marilyn deQueiroz ]
 
Lydia Zhang
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Marilyn and Pauline!
Thanks for your great help. I can use the Java without the PATH now
I typed the full path in the Command Prompt, it WORKS! So I won't spend time on the path or classpath anymore.
Thank you guys, this is the first time the Java works in my home computer for 3 months!
 
Lydia Zhang
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wait a minute, my PATH works too!
BUT, there is a little problem, each time when I run the Command Prompt, it seems to reboot, and I have to run autoexec.bat at first, otherwise, it can not read the .java file. How to solve this?
 
I RELEASE YOU! (for now .... ) Feel free to peruse this tiny ad:
ScroogeXHTML - small and flexible RTF to HTML converter library
https://coderanch.com/t/710903/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!