简体   繁体   中英

DCEVM setup in mac + eclipse

I have dcevm with its installer by selecting replace by dcevm and dcevm altvm for java. After the installation I face following issues:

  1. Eclipse unable to start error Fail to start java virtual machine.
  2. Running a class with java cmd I get following error .

objc[10585]: Class JavaLaunchHelper is implemented in both

jdk1.8.0_112_DCEVM.jdk/Contents/Home/bin/java (0x10762c4c0) and /JavaVirtualMachines/jdk1.8.0_112_DCEVM.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x1077434e0). One of the two will be used. Which one is undefined.

Anyone face following issue?

您可以设置mac系统的java环境,这可以通过jenv完成,请参考: jenv set

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM