2

我想用 Oracle java(Windows 版本)在 Cygwin(Windows 8 x64)上运行 PyCharm(Linux 版本)。

我已经尝试从这个答案的想法中纠正 pycharm.sh ,但遇到了问题:

  • unable to load main class com.intellij.idea.Main(如果把$JAVA_HOME$SCRIPT_LOCATION.bashrc

  • 或 evalcygpath --absolute --windows "$JAVA_HOME/bin/java.exe"响应 ==

    cygwin warning: MS-DOS style path detected: C:\Java\jre7\bin\java Preferred POSIX equivalent is: /cygdrive/c/Java/jre7/bin/java CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more details about POSIX paths: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames ./pycharm.sh: line 204: C:Javajre7binjava: command not found

(如果放在JAVA_HOMESCRIPT_LOCATION窗口PATH

  • 如果简单的话eval "/cygdrive/c/Java/jre7/bin/java.exe"- 响应等同于第一种情况
4

0 回答 0