Problems with Java 1.2 pre-v1 on Linux

1999-07-23 Thread Nacho Mayorga

Madrid, July 23rd 1999

Hi, 

I've got Java 1.2 pre-v1 installed on RedHat 6.0. While trying to
compile (javac) one version of the world-infamous HelloWorld applet
(just for trying purposes) the following error occurred:

*** panic: GC: getStickySystemClass failed: java/lang/ref/Reference
CLASSPATH may be incorrect
SIGABRT   6*   abort (generated by abort(3) routine)
stackpointer=0xb5b0

Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v1, native
threads):
"main" (TID:0x40cf91e0, sys_thread_t:0x804c4f8, state:R, native
ID:0x400) pr
io=5: pending=java.lang.OutOfMemoryError
Monitor Cache Dump:
Registered Monitor Dump:
utf8 hash table: 
JNI pinning lock: 
JNI global reference lock: 
BinClass lock: 
Class linking lock: 
System class loader lock: 
Code rewrite lock: 
Heap lock: 
Monitor cache lock: owner "main" (0x804c4f8) 1 entry
Thread queue lock: owner "main" (0x804c4f8) 1 entry
Dynamic loading lock: 
Monitor registry: owner "main" (0x804c4f8) 1 entry

It seems curious to me the reference to the CLASSPATH var. After reading
the JDK1.2 pre-v1 documentation I assumed that there was no need for
CLASSPATH or JAVA_HOME vars at all.

BTW, the applet (which language is Spanish ;-)) is as follows:

//
// Applet HolaMundo de ejemplo
//
import java.awt.Graphics;
import java.applet.Applet;

public class HolaMundo extends Applet {
public void paint( Graphics g ) {
g.drawString( "Hola Mundo!",25,25 ) ;
}
}

Any explanation or idea?

Thanx a bunch in advance!


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Mo' problems with JDK1.2

1999-07-29 Thread Nacho Mayorga

Madrid, July 29th 1999

Hi U all,

following the Nagaraj's hint I downloaded JDK1.2pre_v2 (glibc2.0
version), then installed it, checked the libraries it had to use (with
ldd), added the lacking references and ldconfiged again. Then I tried to
compile the dreary HulloWorld kinda thing and the result was, once again
to my desperation and dismay, the following one:

 /usr/local/bin/JDK1.2_pre_v2/jdk1.2/bin/javac
HolaMundo.java

*** panic: GC: getStickySystemClass failed: java/lang/ref/Reference
CLASSPATH may be incorrect
SIGABRT   6*   abort (generated by abort(3) routine)
stackpointer=0xb510

Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v2, native
threads):
"main" (TID:0x4035f1e0, sys_thread_t:0x804c590, state:R, native
ID:0x400) pr
io=5: pending=java.lang.OutOfMemoryError
Monitor Cache Dump:
Registered Monitor Dump:
utf8 hash table: 
JNI pinning lock: 
JNI global reference lock: 
BinClass lock: 
Class linking lock: 
System class loader lock: 
Code rewrite lock: 
Heap lock: 
Monitor cache lock: owner "main" (0x804c590) 1 entry
Thread queue lock: owner "main" (0x804c590) 1 entry
Dynamic loading lock: 
Monitor registry: owner "main" (0x804c590) 1 entry   

Should I try the glibc2.1 version? 

I would appreciate any comments or ideas.

Thanx a bunch,

Nacho Mayorga


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Installing JDK1.2pre_v2

1999-07-29 Thread Nacho Mayorga

   Madrid, July 29th 1999

Hi again,

As Juergen Kreileder suggested (thank you!) I've downloaded JDK1.2 pre
v2 for glibc2.1 and I'm trying to install it. Yeah, it's easy, but I've
got a doubt. Namely, when I installed the glibc2.0 version, as I
untarred the jre their contents were put into the jdk directory
structure. I mean, the tree was something like:

--- jdk1.2 --- bin
 +- demo
 +- include
 .
 .
 +- jre
 .
 .
 .
 .
  
Now, after installing jdk1.2 pre v2 for glibc2.1 the structure becomes:

--- jdk1.2 --- bin
   | +- demo
   | +- include
   | .
   | .
   | +- jre
   | .
   | .
   | 
   +- jre1.2 -- bin
 +- lib
 .
 . 

And the point is that both jdk and jre include executable files for
building up a JRE. Does it matter? otherwise, what is the correct order
for setting the path (and libraries in ldconfig.so)?

Thanks in advance,

Nacho

P.S. My installation process is starting to become a saga ;-)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: can't run applets in netscape

1999-09-27 Thread Nacho Mayorga


Hi U all!
RatKing wrote:

    2.If you browser support the special
version of Java (1.0 ? 1.1 ? 1.2 ?
1.2.2)
    You can check it just click
the menu in your browser:
    Help->About Plug-ins
Well, I've never worried about my Netscape being unable to run applets.
Nevertheless, I thought that after the Ratking's message this was a good
time to do it. So I checked out the plugins stuff as suggested and, er,
well, I just found out that my plugin file and path are /usr/lib/netscape/plugins/libnullplugin.so
and that there's another file next to that one and named "cpPack1.jar".
There's also a directory (/usr/lib/netscape/java) which includes classes
and some other things.
So, as a result, I've got no idea of the version of java that my browser's
using (or the plugin I need). Any ideas?
Nacho


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]