How to solve could not create the virtual machine error of Java Virtual Machine Launcher?

前端 未结 13 2064
星月不相逢
星月不相逢 2020-12-08 09:46

I am working on java wicket framework and Apache tomcat. Here I have Problem when i tried
to start tomcat it shows Java Virtual Machine Launcher pop window \"Could not c

相关标签:
13条回答
  • 2020-12-08 10:20

    For me it was picking the default JVM v6 set in env vars.

    Needed to explicitly add below in eclipse.ini to use v8 which is req by photon.

    -vm
    C:\Program Files\Java\jdk1.8.0_75\bin\javaw.exe
    --launcher.appendVmargs
    -vmargs
    -Dosgi.requiredJavaVersion=1.8
    

    NOTE : Add the entry of vm above the vm args else it will not work!

    0 讨论(0)
提交回复
热议问题