Re: Netscape 4.05 support Java 1.1??
On 2 Oct 1998, Chi-Ming Yang wrote: > Hi there, > I got netscape 4.05 that came with RedHat 5.1. Does it support Java 1.1? I >tried the following and got errors: > I have JDK1.1.6 installed. Will that help netscape? > If you had JDK 1.1.6 installed when you got these errors, clearly not. You shouldn't use any netscape prior to 4.06: 4.04 has a problem with some web sites (mine couldn't tell me about the then new 4.3 Gb removable syquest disk, 4,05 has problems with forms and I gather all prior to 4.06 have security problems with mail. > Thanks > > http://www.javasoft.com/applets/jdk/1.1/demo/NervousText/index.html > > #Applet exception: error: java.lang.NoSuchMethodError: > java.awt.Component: method addMouseListener > (Ljava/awt/event/MouseListener;) V not found > at NervousText.init(NervousText.java:63) > at netscape.applet.DeriveAppletFrame.run(DerivedAppletFrame.java) > at java.lang.Thread.run(Thread.java) Cheers John Summerfield http://os2.ami.com.au/os2/ for OS/2 support. Configuration, networking, combined IBM ftpsites index.
Re: Kaffe
On Fri, 2 Oct 1998, Didier Boucard [98-99] wrote: > Hello, > > I've tried Kaffe under linux to see if it worked fine. I've found no > problem to run jdk classes, but it's really slow: on the class I've > tested, it's about 4 times slower than under the jdk 1.1.6 from > blackdown. > > What I would know is if something exists to make it faster ? > Is Guavac a good (faster) compiler? The compilers won't make much difference to runtime speed. The fastest compiler I've seen is jikes (www.alphaworks.ibm.com) which is about an order of magnitude faster than javac and the compiled code of the one program I test it on is a little faster. jikes is now my preferred compiler. IBM has some other nice addons too including a GUI debugger written in java. Cheers John Summerfield http://os2.ami.com.au/os2/ for OS/2 support. Configuration, networking, combined IBM ftpsites index.
jre failed
Hi, I tried to run an application packed in a JAR file: $ jre -cp testq.jar QueueTest but got the following message: Unable to initialize threads: cannot find class java/lang/Thread Could not create Java VM I use jdk-1.1.6, RPM version (jdk-sbb-1.1.6-2.1.2glibc). CLASSPATH, JAVA_HOME, and JDK_HOME are all set appropriately (I think). Am I missing something ? TIA, Lukito
Re: jre failed
> I tried to run an application packed in a JAR file: > $ jre -cp testq.jar QueueTest > but got the following message: > > Unable to initialize threads: cannot find class java/lang/Thread > Could not create Java VM > > I use jdk-1.1.6, RPM version (jdk-sbb-1.1.6-2.1.2glibc). > CLASSPATH, JAVA_HOME, and JDK_HOME are all > set appropriately (I think). The problem is, JRE cannot find the classes.zip file, which implies that CLASSPATH is *not* set appropriately (alternatively, but much less likely, is that something is wrong with your classes.zip). M.
