I have since changed everything to run on 1.5, and my one
recurring issue is with NetBeans 4.1. Since I'm just a user of
this application, any bug filed by me would be somewhat useless
since I can't see into the internals of NetBeans. However, I can
try to figure out some things, which leads me to my question:
Please file a bug anyway; it may be a bug in our Java code, not in
NetBeans
After I launch an application, is there a way I can confirm which
version of Java an application is running under? I can deduce what
should happen for some applications, based on my preferences and
its plist. But is there a way to confirm my deduction is correct
after the application launches?
kill -QUIT <pid> of a Java process on Mac OS X will dump a bunch of
info to stdout. Right near the top (in J2SE 5.0) is the version of
the VM that's running.
As a side note, my bug is that the NetBeans text editor will stop
accepting key presses. I can highlight text, but no more typing
allowed. Anyone else seen this issue?
Not that I'm aware of, but I'm by no means aware of everything. It
would be great if you could file a bug with whatever you know
(especially version information); the engineer who gets assigned
the bug will have a better idea of whether this has been reported
before or not.
It turns out that NetBeans, though nicely packaged, runs a shell
script, so it was still launching in 1.4.2. It also ignores -QUIT
signals, so I had to use -TERM, but it still gives the information
needed.
I have managed to launch NetBeans in 1.5 now. Inside the package
there is a netbeans.conf file where you can set the path to the JDK,
in case anyone else wants to run NetBeans 4.1 under Java 1.5. :-)
~Mike
_______________________________________________
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