1847211 Members
2433 Online
110263 Solutions
New Discussion

Java classes.zip

 
irt_1
Frequent Advisor

Java classes.zip

Hi All,

Our system running on HP-UX 11i. One of the developer asking me where is the classes.zip because they got an error on library when they compile their application.

I don't know much about Java. Is this file supposed to be in the Java SDK? Or should I just point a system variable to the correct path?

Thank you.

Iwan
6 REPLIES 6
morganelan
Trusted Contributor

Re: Java classes.zip

Specify the servlet Java virtual machine's (JVM's) classpath. Any servlets that are in this classpath can be loaded by the servlet engines. This directive must contain the path to the JDK core class files (classes.zip) and the path to the server's class files (icsclass.zip).

The format of this directive is:
HP-UX:
JavaClassPath directory:directory:...directory


example
HP-UX:
JavaClassPath JAVA_HOME/lib/classes.zip:
/opt/GOServer/internet/server_root/cgi-bin/icsclass.zip:/
/opt/GOServer/internet/server_root/servlets/public

Note: The directive must be typed on one line, even though it might be shown here on more lines.

Kamal Mirdad
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Java classes.zip

Add it in your Classpath variable

CLASSPATH=$CLASSPATH:Path_of_Classes.zip

It will be there in your java installation folder.
Vibhor Kumar Agarwal
irt_1
Frequent Advisor

Re: Java classes.zip

Hi All,

Thanks for the reply. But I can not find the classes.zip file itself. What kit I should install? I have install the SDK 1.5 but can not find any.

Iwan
Vibhor Kumar Agarwal
Esteemed Contributor

Re: Java classes.zip

Tried find

find / -name classes.zip

By the way a .zip file on a UNIX platform?
Sounds something interesting.
Vibhor Kumar Agarwal
Matti_Kurkela
Honored Contributor

Re: Java classes.zip

The file named "classes.zip" seems to be a part of Java 1.1.8 SDK. I think the naming changed way back when Java 1.2 series began. You should suggest the developer that the Java version he/she is trying to use is all but obsolete.

HP End-Of-Lifed Java 1.1 series in Oct 2002.
MK
machoq1
Esteemed Contributor

Re: Java classes.zip

classes.zip was in older versions of jdk, now it is replaced with rt.jar (Runtime.jar) under
/opt/java/jre/lib
export CLASSPATH=$CLASSPATH:/jre/lib/rt.jar