box86 icon indicating copy to clipboard operation
box86 copied to clipboard

Attempt to run x86 java failed

Open PTALTS-LK opened this issue 2 years ago • 5 comments

This is the console output

./java Box86 with Dynarec v0.2.3 4710c477 built on Jul 3 2021 20:58:19 Error: Global Symbol collector_func_load version 0/(none) not found, cannot apply R_386_GLOB_DAT 0x7568dff8 ((nil)) in /home/pi/jre1.8.0_291/lib/i386/client/libjvm.so Java HotSpot(TM) Client VM warning: Can't detect primordial thread stack location - find_vma failed Error: PltReolver: Symbol VerifyFixClassname(ver 6: VerifyFixClassname@SUNWprivate_1.1) not found, cannot apply R_386_JMP_SLOT 0x73ff7114 (0x73fd85f6) in /home/pi/jre1.8.0_291/lib/i386/libjava.so

PTALTS-LK avatar Jul 16 '21 03:07 PTALTS-LK

I know, java is not supported for now.

ptitSeb avatar Jul 16 '21 05:07 ptitSeb

@CPXMC why could u do that java is in armhf

Painadath avatar Aug 04 '21 04:08 Painadath

Why you need to run Java in x86-64? Most of Java app should work on aarch64 or armhf without issue ex. Minecraft(with mods/without mods)

leonpano2006 avatar Sep 15 '21 21:09 leonpano2006

Yes

Painadath avatar Sep 16 '21 03:09 Painadath

I'm trying to run an app that's is made using Java but depends on several dlls' therefore I need to use wine + box86 to run it. But I'm getting the following error:

Error occurred during initialization of VM
java.lang.ClassCastException: <unknown> cannot be cast to [Ljava.lang.Class;
        at java.lang.reflect.Constructor.getParameterTypes(Unknown Source)
        at java.lang.Class.getConstructor0(Unknown Source)
        at java.lang.Class.newInstance(Unknown Source)
        at sun.nio.cs.FastCharsetProvider.lookup(Unknown Source)
        at sun.nio.cs.FastCharsetProvider.charsetForName(Unknown Source)
        at java.nio.charset.Charset.lookup2(Unknown Source)
        at java.nio.charset.Charset.lookup(Unknown Source)
        at java.nio.charset.Charset.forName(Unknown Source)
        at java.io.PrintStream.toCharset(Unknown Source)
        at java.io.PrintStream.<init>(Unknown Source)
        at java.lang.System.newPrintStream(Unknown Source)
        at java.lang.System.initializeSystemClass(Unknown Source)

Any ideas of what could be wrong ?

azubieta avatar Mar 31 '22 02:03 azubieta

I'm closing the ticket, it's not clear what the issue is. Feel free to open a new ticket if you still have issues with Java (I did got a few java games running lately)

ptitSeb avatar Oct 11 '22 15:10 ptitSeb