harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Zhang" <zhanghuang...@gmail.com>
Subject [IBMVME] IBMVME can't run j.u.c.Executors.newFixedThreadPool(int).
Date Fri, 25 May 2007 13:20:50 GMT
Hi,

I  tried to run following code with IBMVME,

Executors.newFixedThreadPool(_threadCount);

but I got:

java.lang.NoClassDefFoundError: org.apache.harmony.kernel.vm.Objects
    at sun.misc.Unsafe.<init>(Unsafe.java:64)
    at sun.misc.Unsafe.<clinit>(Unsafe.java:34)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
    at java.util.concurrent.atomic.AtomicInteger.<clinit>(AtomicInteger.java
:28)
    at java.lang.J9VMInternals.initializeImpl(Native Method)
    at java.lang.J9VMInternals.initialize(J9VMInternals.java:177)
    at java.util.concurrent.LinkedBlockingQueue.<init>(
LinkedBlockingQueue.java:75)
    at java.util.concurrent.LinkedBlockingQueue.<init>(
LinkedBlockingQueue.java:164)
    at java.util.concurrent.Executors.newFixedThreadPool(Executors.java:55)
...

Is it a known issue with IBMVME? or did I miss something? Thanks!

ps: it works with DRLVM.


-- 
Best regards,
Andrew Zhang

http://zhanghuangzhu.blogspot.com/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message