Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strange behaviour with jdk1.1.6 for Linux

0 views
Skip to first unread message

Thierry Coutelier

unread,
Aug 23, 1998, 3:00:00 AM8/23/98
to
Hello,

I installed JDK1.1.6 and get an error from time to time when trying to
run
an applet using the appletviewer. The strange think is that it
doesn't occur
each time but only sometimes. Here are the messages.

sendar:~/www/wwwlinux$ appletviewer usrmgr.html
/usr/local/java/bin/../lib/i586/green_threads/libzip.so: undefined
symbol: inflate_blocks_reset (libzip.so)
java.lang.UnsatisfiedLinkError: no zip in shared library path
at java.lang.Runtime.loadLibrary(Runtime.java)
at java.lang.System.loadLibrary(System.java)
at
at java.util.zip.ZipInputStream.<init>(ZipInputStream.java:53)
at
sun.tools.jar.JarVerifierStream.<init>(JarVerifierStream.java:90)
at
sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java:159)
at
sun.applet.AppletResourceLoader.loadJar(AppletResourceLoader.java:142)
at sun.applet.AppletPanel.loadJarFiles(AppletPanel.java:509)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:397)
at sun.applet.AppletPanel.run(AppletPanel.java:237)
at java.lang.Thread.run(Thread.java)

sendar:~/www/wwwlinux$ appletviewer usrmgr.html
java.lang.IllegalArgumentException: cannot add to layout: constraint
must be a string
at java.awt.CardLayout.addLayoutComponent(CardLayout.java:138)
at java.awt.Container.addImpl(Container.java:319)
at java.awt.Container.add(Container.java:179)
at LiLuxMgr.init(LiLuxMgr.java:45)
at sun.applet.AppletPanel.run(AppletPanel.java:287)
at java.lang.Thread.run(Thread.java)


I did not do anything inbetween the 2 commands.
The second error message is because I don't know how to make my own
Panel class that will be called from the main applet.


---
Thierry....@remove-to-mail.prophecy.lu
http://www.prophecy.lu

Visit Prophecy the David Eddings MUD
telnet://mud.prophecy.lu:4000


0 new messages