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?
Install Aptana Studio to do PHP development on Windows.Open the Aptana Studio website and click on the Download Aptana Studio 3 Button. It will open the Aptana Studio repository on GitHub. It provides the link having the most recent release of Aptana Studio and also lists the previous releases.
Aptana Studio is an open-source integrated development environment (IDE) for building web applications. Based on Eclipse, it supports JavaScript, HTML, DOM and CSS with code-completion, outlining, JavaScript debugging, error and warning notifications and integrated documentation.
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:
"C:\Users\Lance\AppData\Local\Aptana Studio 2.0\AptanaStudio.exe" -data "E:\Documents\Aptana Studio Workspace"
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:
Root exception: java.lang.IllegalStateException: The platform metadata area could not be written: C:\Users\Lance\My Documents\Aptana Studio Workspace.metadata. By default the platform writes its content under the current working directory when the platform is launched. Use the -data parameter to specify a different content area for the platform.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With