Cannot install server runtime in eclpise 3.7 (indigo) with JBoss Tools 3.3.m2.
Fresh installation of eclispe 3.7 and Tools 3.3.m2.
Window - Preferences - Server - Runtime Environments: Add
Select JBoss Community - JBoss 7.0 Runtime - next
Dialog shows: New Server Runtime Environment
The home directory does not exist or is missing the run.jar.
At this point this is expected because the wizard defaults to c:/program files/jboss-7.0.x which is of course NOT where I put the server.
Browse to the existing server install folder i.e. S:\jboss-as-7.0.0.Final
The wizard still says "The home directory does not exist or is missing the run.jar." and will not enable Next or Finish buttons.
The server runs perfectly by executing standalone.bat
This is a longshot but does it work if you write S:/jboss-as-7.0.0.Final ? (in case \ gets interpreted badly)
btw. I assume you are running on windows ?
In any case, if this problem still occur open a bug on https://jira.jboss.org/jira/browse/JBIDE thanks!
On 6/24 I committed a change to the text to be more clear. In nightly-builds or m3, the text says:
"The home directory does not exist or is missing a required file or folder: modules/org/jboss/as/server/main"
I do not have a windows computer right now so I'm really unsure of the affect of using a separate drive, though you indicate you even tried it on c:\jboss, so I'm not sure what the problem could be.
I saw the new text and verified the folder is there.
Maybe the text could list what it's looking for.
I tried the snapshot so the files in that folder are:
The one thing I did not try is putting the serve at the default location as shown in the dialog.
I had a similar problem, and it turns out that I had a problematic JBoss Tools version in Eclipse 3.7. I have posted a solution on my blog http://omnisack.blogspot.com/2011/08/eclipse-37-jboss-as-7-server-runtime.html
Hope it helps.
Seems to me that the JBoss tools look for the standalone.sh file in the folder ..\jboss-as-web-7.0.2\bin\. If you have a windows version (at least the windows version of OpenSCG http://www.openscg.com/), the *.sh files are not delivered, as they are useless on windows machines (instead the *.bat files are there). I copied the standalone.sh file into this folder from a jboss version that I have downloaded from the jboss website and eclipse recognised the jboss directory without any problem. Probably it's enough to create an empty standalone.sh file in the folder, as it shouldn't be read under windows anyway.
Nevertheless, I cannot fully confirm that this entirely solves the problem, because when I try to starte the server in the server view in eclipse, the server gives an error (An internal error occurred during: "Starting JBoss 7.0 Runtime Server". classToLaunch cannot be null).