Quote:
Originally Posted by mattthumper
Code:
> netbeans
Error: JAVA_HOME is not defined correctly: /usr/java/jdk1.7.0_03
Unable to find /usr/java/jdk1.7.0_03/bin/java or it is not executable
|
Now that it has been established that the fundamental problem was a path accessibility issue, something you
(& other readers finding this thread later...) might want to explore is whether it makes sense to make symlinks to an accessible directory similar to what is done with Python 2.7.10. If this is not clear, below is a snippet of what is displayed following the installation of Python:
Code:
If you want to use this package as your default system python, as root
create symbolic links like so (overwriting any previous default):
ln -sf /usr/local/bin/python2.7 /usr/local/bin/python
ln -sf /usr/local/bin/python2.7-2to3 /usr/local/bin/2to3
ln -sf /usr/local/bin/python2.7-config /usr/local/bin/python-config
ln -sf /usr/local/bin/pydoc2.7 /usr/local/bin/pydoc
I do a similar configuration on Java in the few situations I ever use it, & I have not the vagaries seen here.
FWIW.