How to specify jdk path in eclipse.ini on windows 8 when path contains space

后端 未结 14 864
时光取名叫无心
时光取名叫无心 2020-12-08 08:56

This doesn\'t work -vm %JAVA_HOME%/bin/javaw.exe

How can I replace %JAVA_HOME% with full path on windows 8 when path contains space (\"program files\" directory)

相关标签:
14条回答
  • 2020-12-08 09:46

    Go to C drive root in cmd Type dir /x This will list down the directories name with ~.use that instead of Program Files in your jdk path

    0 讨论(0)
  • 2020-12-08 09:49

    Add the entry of vm above the vm args else it will not work..! i.e `

        -vm
        C:\Program Files\Java\jdk1.7.0_75\bin\javaw.exe
        --launcher.appendVmargs
        -vmargs
        -Dosgi.requiredJavaVersion=1.6
        -Xms40m
        -Xmx512m
    
    0 讨论(0)
提交回复
热议问题