so many questions regarding java...

vina_melody

Registered
Hi, i'm newbie...from asia.:)

i have a lot of questions about java when i completely moved from windows to mac, i hope someone can help me...

1. Why there are only bin, include, lib and man folder in my java home folder? (there's no jre...because when i want to set up jconnector for jdbc i need that folder)
2. How to compile and execute .java file in eclipse and netbeans?
Before, i used JCreatorPro in windows and New, Compile and execute button are just one step click...

Thanks,
vina
 
You need to have Developer tools to make java files. The developer CD either came in installers on your new Mac or a separate disk if you bought OS X when it came out.
 
If you can't find the developer tools CD, you can download/order the latest one from Apple Developers Connection - or just ask your nearest Apple store to run it off for you.
 
Thanks for the advises.... now i have the xcode and developer cd. I also have successfully installed mysql in my system. but then comes one new problems.

To connect mysql with java, i downloaded J Connector from mysql's website. The instruction is to copy the file .jar to directory #JAVA_HOME/jre. but i don't have the folder?
 
You copy the file to /Library/Java/Home/lib/ext/

At least, that's what you do with most Java libraries.
 
Back
Top