eclipse - How to add java environment variable to mac os x -
can tell me series of terminal commands enter adding java environment variable mac os x? have tried export (directory) vim .bash_profile , still getting error in eclipse "error: not find or load main class test.testclass"
try seeing if helps you
echo export "java_home=\$(/usr/libexec/java_home)" >> ~/.bash_profile
taken link: mac os x java environment variable
i don't think missing class environment issue. file located in eclipse?
Comments
Post a Comment