View Full Version : NetBeans IDE 3.4.1...
Apple made the unfortunate decision to upgrade everyone's JDK to 1.4.1 (from softwareupdate) without installing the headers. I had to download the Java SDK (49 MB) from developer.apple.com. :mad:
I installed and I'm using Netbeans IDE 3.4.1 ( http://www.netbeans.org/index.html )
And works very well when started from the command line at /Applications/NetbeansLauncher.app/Contents/Resources/netbeans/bin with:
For the Metal look:
./runide.sh -jdkhome /Library/Java/Home
And for the Aqua look and feel:
./runide.sh -jdkhome /Library/Java/Home -ui apple.laf.AquaLookAndFeel -fontsize 11
My question is how to make it start with the NetBeansLauncher.app (1.2.1), can anybody share with me their preferences?
java_guy
04-28-2003, 10:52 AM
The args that you are interested in setting are available to be set in the preferences dialog box for the NetBeansLauncher app. Hope this answers your question. I run NetBeans 3.4.1 & 3.5 beta on JDK 1.4.1_01
java_guy,
Thanks, yes that's what I tried originally, but it doesn't start for me from the NetbeansLauncher.app, and I don't know why.
It starts perfectly well from terminal.app with the commands above.
(Using NetBeans 3.4.1 and JDK 1.4.1_01)
java_guy
04-29-2003, 12:35 PM
have you checked what's being outputted in your ~/.netbeans/3.4/system/ide.log files when you try to start from the Launcher app? I'm assuming you checked the Console for error messages already.
java_guy,
Thanks, it's working now. It couldn't find the JDK Home as I wrote the wrong directory in the preferences. Checked the 'ide.log' files as you suggested and changed it to:
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home
and the NetBeansLauncher.app is happy now. :)
erehnke
04-29-2003, 02:09 PM
I'm interested in hearing more about the header files that were missing from the Java upgrade.
I'm starting to use Java on the mac and would like to know if there are any missing files that i need.
I DID hear about a problem with the STUFFIT file decompressor not handling long filenames correctly and some java users had to use terminal 'unzip' instead of stuffit to get there java sdk's installed correctly.
Thanks,
eric
erehnke,
I downloaded Java 1.4.1 through Apple Software Update, but I was getting errors like the following when installing some packages from source with Fink:
-I/System/Library/Frameworks/JavaVM.framework/Versions/1.4.1/Home/../
../../Headers -c javaglue.c -fno-common -DPIC -o javaglue.lo
javaglue.h:6: header file 'jni.h' not found
So, I had to download the Java SDK from Apple's developer site.
java_guy
04-29-2003, 05:43 PM
The Java 1.4.1 available through software update is the JRE (stuff, yes that is the technical term , to run java applications):D
Simply put, in order to do development, you need the SDK.
vBulletin® v3.8.7, Copyright ©2000-2013, vBulletin Solutions, Inc.