Aptana studio 无法加载?
我使用的是 Aptana 的独立版本,并且刚刚完成重新格式化。当我尝试启动 Aptana 时,出现以下错误:
无法启动产品,因为无法创建指定的工作区。指定的工作区目录无效或只读。
我该如何解决这个问题?
I'm using a standalone version of Aptana and I have just finished reformatting. When I tried to launch Aptana I got this error:
Could not launch the product because the specified workspace cannot be created. The specified workspace directory is either invalid or read-only.
How can I solve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我刚刚遇到了同样的问题。这是由于将“我的文档”文件夹映射到不同的驱动器而引起的。安装程序和程序假定它位于 C:\ 驱动器上,并尝试在那里创建或打开工作区。
要解决此问题:
为 Aptana 创建一个新快捷方式(或修改现有快捷方式),并添加一个 -data 参数以及工作区文件夹的路径(默认情况下位于文档下)。在我的系统上,它的设置如下:
查看错误日志:
每次尝试启动程序时,都会在程序的 /configuration/ 文件夹中写入一个日志文件。日志文件看起来像是以某种时间戳命名的(1259818956579.log)。日志文件内有 -data 解决方案的详细错误消息:
I just ran into this same issue. It's caused by having your "My Documents" folder mapped to a different drive. The installer and program assume it's located on the C:\ drive and attempt to create or open the workspace there.
To fix the issue:
Create a new shortcut for Aptana (or modify the existing one) and add a -data parameter with the path to your workspace folder (by default under your documents). On my system it is setup like so:
Viewing the error log:
A log file is written in the /configuration/ folder of the program each time you attempt to launch the program. The log files look like they are named after some kind of timestamp (1259818956579.log). Inside the log file there is a detailed error message with the -data solution:
如果您将 Aptana 文件夹从一台计算机复制到另一台计算机并复制用户名,或者更新一台计算机并更改您的用户名,则可能会发生这种情况。尝试检查文件“configuration/.settings/org.eclipse.ui.ide.prefs”(如果有)并确保对位置的任何引用反映了您当前的环境。
您可以尝试使用以下命令注释或删除该行:RECENT_WORKSPACES 键。
This can happen if you copy the Aptana folder from one machine to another and the usernames or update one machine and change your username. Try checking the file "configuration/.settings/org.eclipse.ui.ide.prefs" if you have it and make sure any references to locations reflect your current environment.
You can try to comment or delete the line with: RECENT_WORKSPACES key.
我在 Fedora 12 上的“Aptana Studio 3”中遇到了相同的错误消息。
我从存储 Aptana 的路径中的目录名称中删除了空格,并更新了配置文件中的相应路径;
配置/config.ini
汤姆。
I had the same error message with "Aptana Studio 3" on Fedora 12.
I removed spaces from directory names in the path where Aptana is stored and updated the corresponding path in the config file;
configuration/config.ini
Tom.