Hi there,
I just installed the pre-release 1 of jdk1.2 on my system and as stated
in the README included its bin directory in my PATH. But - even trying to
run a simple HelloWorld fails with an OutOfMemory error (and I am somewhat
certain that there is enough memory left [unless, 900MB free memory would
be too little]):
beh@fenun:~/src/j $ java HelloWorld
*** panic: GC: getStickySystemClass failed: java/lang/ref/Reference
CLASSPATH may be incorrect
SIGABRT 6* abort (generated by abort(3) routine)
stackpointer=0xbffff248
Full thread dump Classic VM (Linux_JDK_1.2_pre-release-v1, native
threads):
"main" (TID:0x410f31e0, sys_thread_t:0x8143400, state:R, native
ID:0x400) prio=5: pending=java.lang.OutOfMemoryError
Monitor Cache Dump:
Registered Monitor Dump:
utf8 hash table: <unowned>
JNI pinning lock: <unowned>
JNI global reference lock: <unowned>
BinClass lock: <unowned>
Class linking lock: <unowned>
System class loader lock: <unowned>
Code rewrite lock: <unowned>
Heap lock: <unowned>
Monitor cache lock: owner "main" (0x8143400) 1 entry
Thread queue lock: owner "main" (0x8143400) 1 entry
Dynamic loading lock: <unowned>
Monitor registry: owner "main" (0x8143400) 1 entry
beh@fenun:~/src/j $ free
total used free shared buffers cached
Mem: 517308 381284 136024 72700 115464 197192
-/+ buffers/cache: 68628 448680
Swap: 770504 0 770504
Also, what I find strange is the mentioning of a possibly incorrect
CLASSPATH -- no CLASSPATH is set in the environment, and according to the
README, that should be OK...
Btw. trying "javac HelloWorld" yields the same OutOfMemory error (I still
had an old .class file around to test the "java HelloWorld" with).
I have a pretty current Debian/potato (glibc-2.1 setup) -- last dselect
upgrade is 24h back, with a 2.2.5 kernel on a Dual P-II machine.
Any clues?
Benedikt
ULTIMATUM, n. In diplomacy, a last demand before resorting to concessions.
[Ambrose Bierce, "The Devil's Dictionary"]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]