Michael,
These topics have been well discussed on this list so I think I can
help you sort this out.
On Aug 27, 2005, at 8:57 PM, Michael Steinfeld wrote:
I wanted to switch to using 1.5 with netbeans 4.1. I
noticed at java.com there is not a binary update.
I did update to 1.5.0 via developer.apple.com
According to apple this is not a replacement for JDK
1.4.2. Why would I need the 1.4 version if I have
downloaded the update?
This is the only way to get java 5 on macos x. You need 1.4.x and
1.3.x because that's what is expected to be there. Not everyone
needs, uses, or develops on java 5 yet. Removing these lower versions
would be a BAD idea.
Next, In school we are using 1.5 with netbeans 4.1
on
a windows environment. At home I have only OS X and
Linux. My Instructor said using OS X in class is
fine,
but I am concerned about compatability issues (
which
using the scanner class in school forced me to>
upgrade
to 1.5 at home) are then any I should be aware of?
Unless you are using JNI there should be no differences noticeable.
This is expected of java: to behave the same on every system. But
with bugs this is not always the case.
Last but not least...
/usr/bin/java is 1.4.2 I would like to replace that
with 1.5 I noticed it was a symlink and tried to
rename java (1.4) to java_backup ( I was afraid to
delete it ). Can i just delete the symlink with "rm
/usr/bin/java"? Then symlink:
/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/...java
to /usr/bin/java
or is there a better solution? I want netbeans to
use
1.5.0 on default which I have looked how to do but
to
no avail.
Is there an environment variable I can set in my
.bashrc file like
Netbeans is very smart and relieves the user of this sort of
tinkering with system owned files.
If you have started a project in NB open it's properties editor and
from the "libraries" pane choose "manage platforms." From there you
can make NB aware of every version you have installed and tell it
which one to use for your project.
Any assistance is greatly appreciated. Thanks!
--mike
Anthony Magee
macawm_at_gmail.com
-----
Any fool can make a rule, and any fool will mind it.
Henry David Thoreau
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden