-
JDK Installation
Hi! Which are the correct steps for the installation of the JDK 1.3? After
extracting the setup, I made a path in the AUTOEXEC.BAT but it still wouldn't
work. (The path was: C:>SET CLASSPATH C:\JDK1.3\BIN; C:\JDK1.3\LIB . Have
I done something wrong, or do I have to do something more than that?
Thank you!
-
Re: JDK Installation
There is a space in the middle of the line you posted. Make sure there are
no spaces in the actual line in your Autoexec.bat file.
PC2
Kon P <pknj25@yahoo.com> wrote in message news:3a0736ed$1@news.devx.com...
>
> Hi! Which are the correct steps for the installation of the JDK 1.3? After
> extracting the setup, I made a path in the AUTOEXEC.BAT but it still
wouldn't
> work. (The path was: C:>SET CLASSPATH C:\JDK1.3\BIN; C:\JDK1.3\LIB . Have
> I done something wrong, or do I have to do something more than that?
> Thank you!
-
Re: JDK Installation
First, make sure that your Autoexec.bat looks similar to the following (with
your paths)
PATH=C:\Program Files\java\sun\jdk1.2.2\bin;C:\Program Files\JavaSoft\JRE\1.2\bin
set CLASSPATH=.;C:\Program Files\java\sun\jdk1.2.2\lib;
Then, make sure that when you compile, you pay attention to case.
Ex. "javac Test.java" will work IF:
1 - The file name has a capital "T"
2 - In the code, you have public class Test
-Hope this helps
-Chuck
"Kon P" <pknj25@yahoo.com> wrote:
>
>Hi! Which are the correct steps for the installation of the JDK 1.3? After
>extracting the setup, I made a path in the AUTOEXEC.BAT but it still wouldn't
>work. (The path was: C:>SET CLASSPATH C:\JDK1.3\BIN; C:\JDK1.3\LIB . Have
>I done something wrong, or do I have to do something more than that?
> Thank you!
-
Re: JDK Installation
Thanks for the answer. I checked it but it's not that.Do I have to set another
one "PATH" variable pointing to "c:\jdk1.3\bin?" If you (or anybody else)
have/has installed it can run it properly please let me know what the correct
path/paths is/are.
-
Re: JDK Installation
<mr_kannan@yahoo.com> wrote:
Hi! Which are the correct steps for the installation of the JDK 1.3? After
extracting the setup, I made a path in the AUTOEXEC.BAT but it still wouldn't
work. (The path was: C:>SET CLASSPATH C:\JDK1.3\BIN; C:\JDK1.3\LIB . Have
I done something wrong, or do I have to do something more than that? and
let me know the other steps to install java.
Thank you!
-
Re: JDK Installation
"Chuck S" <schifware@myrealbox.com> wrote:
>
>First, make sure that your Autoexec.bat looks similar to the following (with
>your paths)
>PATH=C:\Program Files\java\sun\jdk1.2.2\bin;C:\Program Files\JavaSoft\JRE\1.2\bin
>set CLASSPATH=.;C:\Program Files\java\sun\jdk1.2.2\lib;
>
>Then, make sure that when you compile, you pay attention to case.
>Ex. "javac Test.java" will work IF:
> 1 - The file name has a capital "T"
> 2 - In the code, you have public class Test
>
>-Hope this helps
> -Chuck
>
>
>"Kon P" <pknj25@yahoo.com> wrote:
>>
>>Hi! Which are the correct steps for the installation of the JDK 1.3? After
>>extracting the setup, I made a path in the AUTOEXEC.BAT but it still wouldn't
>>work. (The path was: C:>SET CLASSPATH C:\JDK1.3\BIN; C:\JDK1.3\LIB . Have
>>I done something wrong, or do I have to do something more than that?
>> Thank you!
>
/////////////
@IF ERRORLEVEL 1 PAUSE
@PATH c:\windows;c:\windows\COMMAND;C:\PROGRA~1\MSOFFICE\OFFICE;%PATH%
rem TShoot: @PATH C:\PROGRA~1\MSOFFICE\OFFICE;%PATH%
rem TShoot: SET CLASSPATH=C:\Program Files\PhotoDeluxe 2.0\AdobeConnectables
REM ** i added REM to the following line ONLY
REM SET CLASSPATH=C:\Program Files\HEAT\navbar;%CLASSPATH%
REM [Header]
REM [CD-ROM Drive]
REM C:\WINDOWS\COMMAND\MSCDEX /D:MSCD001
REM [Miscellaneous]
SET BLASTER=A220 I5 D3 T4
C:\WINDOWS\asp4dos.com
c:\PROGRA~1\COMMON~1\NETWOR~1\VIRUSS~1\40~1.XX\scan.exe c:\
@IF ERRORLEVEL 1 PAUSE
mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
mode con codepage select=850
keyb uk,,c:\windows\COMMAND\keyboard.sys
REM ***this is where i will begin*****************************************
REM *** Please note that I added a REM on the 5th line...what is HEAT??***
REM PATH=C:\Program Files\java\sun\jdk1.4.4\bin;C:\Program Files\JavaSoft\JRE\1.4.4\bin
set CLASSPATH=.;C:\Program Files\java\sun\jdk1.4.4\lib;
REM **YOu may have to move the REM from the Path and add your own pathway
on your System
REM ** or remove Program Files from the C:\Pathway look at it carefully and
see that the
REM ** path is accurate to your PC i am sure tah Program Files will not be
there and
REM ** ONLY C:\ will be there with jdk1.44\lib
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks