First thank you to everyone for the help....
Following up on the previous email suggestions
regarding configuration of netBeans 4.1 to use JDK1.5
I have run into these problems....
When I build my code in the output screen it does say
"Build Successful" But I do not see my program
running? Am I missing another config? I have the
default config set right now with a a fresh
installation.
Now I did notice that in my runtime path says
'unknown'. Is it jut me or setting the runtime path on
mac the most confusing configuration issue ever? ( I
am not going to vent here ).
Anyhow.. How would I expect to run my program in
netbeans with out the runtime classpath set? Why would
it not default to somewhere like '/runtime/path/'
instead of "unknown" really odd.
How do I set it? And what path do I set it to? I am
using 1.5 as my default JDK which I had to edit in
netbeans.conf ( very confusing as well )
I also check the "help" tool but that is telling me to
"right click" scary, I am on a mac with a single
button mouse... "control-clickl" may work accept I
cant find where the help system is refering me to.....
To set the runtime classpath:
Right-click the project node in the Projects
window and choose Project Properties.
I have to laugh at myself (due to frustration)...but,
what is the "project node" and how do I right click
it? I am assuming it is the "projects button" ....
someone please ... I am surely getting frustrated
here... thanks again.
--mike
--- Anthony Magee <email@hidden> wrote:
> 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
> >
> >
>
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/
>
> > 1.5.0/Home
> >
> > that netbeans will use as default?
>
> 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
>
> This email sent to email@hidden
>
_______________________________________________
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
This email sent to email@hidden