无法启动NetBeans 6.9.1 IDE的可移植版本

我从netbeans网站下载了netbeans netbeans-6.9.1-201007282301-ml.zip的可移植版本,并更改​​了netbeans网站上指示的etc / netbeans.conf中的配置文件。文件内容如下。
# ${HOME} will be replaced by JVM user.home system property
#netbeans_default_userdir="${HOME}/.netbeans/6.9"
netbeans_default_userdir=".netbeans/6.9"

# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true"
# Note that a default -Xmx is selected for you automatically.
# You can find this value in var/log/messages.log file in your userdir.
# The automatically selected value can be overridden by specifying -J-Xmx here
# or on the command line.

# If you specify the heap size (-Xmx) explicitely, you may also want to enable
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_default_options:
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled
# (see http://wiki.netbeans.org/wiki/view/FaqGCPauses)

# Default location of JDK, can be overridden by using --jdkhome <dir>:
#netbeans_jdkhome="/path/to/jdk"
netbeans_jdkhome="C:Program FilesJavajdk1.6.0_24"

# Additional module clusters, using ${path.separator} (';' on Windows or ':' on Unix):
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"

# If you have some problems with detect of proxy settings, you may want to enable
# detect the proxy settings provided by JDK5 or higher.
# In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options.
但是当我尝试运行它时它拒绝启动。如果我将JDK路径更改为不正确的东西,它会抱怨它无法找到jdk所以我认为jdk路径是正确的。当我尝试启动它时,它还会创建一个.netbeans目录。我没有看到任何错误,它只是没有做任何其他可观察的事情。 有谁知道如何设置这个版本的netbeans? 谢谢。     
已邀请:
您的netbeans_default_userdir相对路径将指向您的安装文件夹,不允许在该文件夹中。尝试将其更改为另一个目录。 之后,尝试再次执行netbeans.exe。我建议你从命令提示符运行它。有关启动错误的更多解释。 干杯     
你尝试过使用
/
而不是
吗?那应该可以解决你的问题。     
我在NB 7.0.1 RC1中发现.conf文件设置被忽略,如默认.conf文件(在Netbeans安装中找到)中所示。如果从命令行执行NB应用程序,则会收到有关userdir和Netbeans目录匹配的消息,因为未正确读取default_userdir参数。 从新的自定义.conf文件中的参数名称中删除“netbeans_”为我解决了问题。我不知道这是否适用于6.9.1,或者只是环境中的异常。 即 default_userdir = “$ {HOME} /.$ {APPNAME}的/ dev”     
我实际上让它与netbeans 7一起工作。我不记得确切的步骤,但基本上我必须按预期修改配置文件,但关键是从命令行运行它,游戏一些异常消息指示我到右边路径。谢谢大家的帮助。     

要回复问题请先登录注册