Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java_server thread: Problem including important class files through autoexec.bat


Message #1 by bhaumin@1... on 27 Feb 2001 04:00:00 -0800
your code adds the src.jar file which only has the source code for the java
classes but no class files. Check that you have the following line somewhere

set JAVA_HOME="c:\jdk1.3"

what is happening here is that you are using old distributions of java to
compile programs that require the latest ones. Do you mind if I ask why you
have all three jdk's installed?

chanoch

-----Original Message-----
From: bhaumin@1... [mailto:bhaumin@1...]
Sent: 27 February 2001 12:00
To: Java Server
Subject: Problem including important class files through autoexec.bat


Hello,
     i am having a problem in including the java classes which are there 
in src.jar,jsdk.jar and server.jar files. I have written the SET CLASSPATH 
command in autoexec.bat file as below,

SET CLASSPATH 
.;c:\jdk1.3\src.jar;c:\jsdk2.0\lib\jsdk.jar;c:\jskd2.0\lib\server.jar

But then also i encounter errors while compiling the java files which says 
that org.omg.CORBA.cosNaming.*
not found,cannot resove symbol,etc,etc.

What should i do to include the classes in these jar files so that i can 
compile all the java files without these errors ?

My PC configuration are as follows:

P-III 450 mhz
RAM = 64MB
HDD = 10 GB
OS =  Win 98 SE
JDK's = JDK v1.1,JDK v1.2,JDK v1.3
JSDK's = jsdk2.0 and jsdk2.1


  Return to Index