Can I run a java program developed using 32 bit jdk with 64 bit jre? application uses 32 bit non java system libraries

后端 未结 2 1524
醉酒成梦
醉酒成梦 2021-02-09 12:08

I am developing a java application using 64 bit eclipse on a 64 bit Windows 7 install. I\'m forced to use a 32 bit JDK(1.7.0) because the application uses Jpcap, which wont comp

2条回答
  •  情歌与酒
    2021-02-09 13:04

    From memory (and it's a little foggy) I'd so no.

    Native libraries (at least under windows) need to be executed within the same bit beepthness as the JVM.

    So, in order for you to be able to load your x32 bit libraries, you should be running within a x32 bit process (or x32 bit JVM)

提交回复
热议问题