Classpath problem
I am running Netbeans installed from slackbuilds.org and the slackware jdk package
This works fine for running programs from the ide and the classes appear to be compiled but if I actually choose Build or Cleand and Build I get this message Quote:
|
In Netbeans, go to Tools -> Options -> Miscellaneous -> Ant
Ensure that /usr/lib64/java/lib/tools.jar is in the classpath area. |
Thanks! Why do they make that so complicated?
|
Quote:
i didnt google enough when i had this problem , i had to kill slack from my laptop. |
Quote:
|
Quote:
puppy backtrack i really like slackware. its not just reliable for software development , too much surprises in the middle of everthing. |
I seem to remember having this problem. I think it was because I had both the JRE and JDK installed and JAVA_HOME was pointing to the JRE and not the JDK.
|
Quote:
I uninstalled the JRE package and boom, everything was good. Cheers Bertical! |
Well, JDK should replace JRE during install ;) JDK is simply more complex and rich version of Java, than JRE. JRE is just for running Java apps, and JDK is for running and building. So the installation of both environments within one system isn't necessary.
Maybe the Slack Team should take care of this, if JDK package is installed, JRE should be uninstalled (it can be perform in doins.sh script). But I think, that Developers should know this to perform manually... Cheers. |
All times are GMT -5. The time now is 05:51 AM. |