JAVA_HOME not found when attempting to launch Eclipse

0 Likes
over 6 years ago

Problem:

 JAVA_HOME is set in .profile on a Unix/Linux but the user encounters an error when attempting to launch Visual COBOL for Eclipse on Unix/Linux from the console

 Solution:

The terminal  started from the console does not start bash as a logon shell and therefore does not invoke .profile when the terminal is launched.

You could put JAVA_HOME in your /etc/profile, or profile.d. You can also set JAVA_HOME in script that also launches Eclipse.

Comment List
Anonymous
Related Discussions
Recommended