[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

JDK and HotJava



I installed the JDK (jdk_1.1.6-v5-glibc-x86.tar.gz) from
http://www.blackdown.org/ like follows:

# cd /opt
# tar zxvf /tmp/jdk_1.1.6-v5-glibc-x86.tar.gz

and added the following lines to my ~/.bash_profile:

export JAVA_HOME=/opt/jdk116_v5
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA_HOME/lib/classes.zip

Then I went on to install HotJava for Linux (hjb3_0-linux.sfx) from
http://java.sun.com/ (which requires jdk 1.1.6):

# chmod -x hjb3_0-linux.sfx
# ./hjb3_0-linux.sfx /opt/jdk116_v5 /opt
(the first argument to give jdk location, and the second argument to
tell where I wanted hotjava to be installed)

Next, I created a .hotjava/ directory in my home directory, and copied
the config file /opt/HotJava/admin-docs/admin.properties.txt into it:

$ cd
$ mkdir .hotjava
$ cp /opt/HotJava/admin-docs/admin.properties.txt ~/.hotjava/properties

Then I ran the X Window and tried to run the HotJava browser from an
x-term, with the following result:

---------
$ hotjava
$ Running the browser without SSL Manager
java.lang.NoClassDefFoundError: sunw/hotjava/ui/AnimationRequest
	at sunw.hotjava.ui.AnimationIcon.<init>(AnimationIcon.java:146)
	at sunw.hotjava.ui.ActivityMonitor.<init>(ActivityMonitor.java:52)
	at sunw.hotjava.HJFrame.setActivityMonitor(HJFrame.java:1201)
	at sunw.hotjava.HJFrame.applyDecorations(HJFrame.java:929)
	at sunw.hotjava.HJFrame.setupFrame(HJFrame.java:678)
	at sunw.hotjava.HJFrame.<init>(HJFrame.java:421)
	at sunw.hotjava.HJWindowManager.createFrame(HJWindowManager.java:166)
	at sunw.hotjava.Main.main(Main.java:188)
java.io.EOFException: Unexpected end of ZLIB input stream
	at java.util.zip.InflaterInputStream.fill(InflaterInputStream.java)
	at java.util.zip.InflaterInputStream.read(InflaterInputStream.java)
	at java.util.zip.ZipInputStream.read(ZipInputStream.java:104)
	at sun.tools.jar.JarVerifierStream.read(JarVerifierStream.java:210)
	at 	sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java:173)
	at sunw.hotjava.misc.Globals.getScriptingEngine(Globals.java:225)
	at sunw.hotjava.bean.HotJavaBrowserBean$1.run(HotJavaBrowserBean.java:2908
java.lang.NoClassDefFoundError
---------

The only thing I get is the logo on screen (which I cannot even kill).

What did I do wrong?

TIA
-- 
Horacio
homega@vlc.servicom.es
Valencia - ESPAÑA


Reply to: