• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to install JAVA to my Win98?

 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
https://coderanch.com/t/391207/java/java/install-Java
 
Lydia Zhang
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 9109
12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic