i just downloaded the src code and took a brief look at it. i didnt see anything that helps understand this strange thing. there must have something happened to my computer during the weekend. the err appears to be like once i set the java_home, it somehow took the control somewhere else witht the class path being lost... very weired.
Does your JAVA_HOME path include any spaces?
i finally figured out what the problem was today - it was a stupid error:
i have a swing client using the same j2sdk, and i have the jboss all client jar in the lib ext. this did not cause a problem untill i set the java_home, the exception was thrown when the all client jar was being started.
of course in a real situation, the client is run on a seperate jvm, this should not be a concern, but it is good to know this, after all it took/wasted me two days!
by the way, where do you think is the best place to place the jboss all client jar for the client?
Believe me, the client is always run in a separate JVM ;)
I usually don’t mess with the java sdk installation since I have several different version installed. That way I can just change the JAVA_HOME to use another java version. I have a similar setup for external jars as well, just a main directory and different version of jars in sub-directories to allow changing jar to include by changing an env variable.