Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please use J2SE 5.0 as your default VM



I just realized I didn't reply all so this didn't go to the list, so I'm posting the history for other people's benefit.

On Jan 6, 2006, at 1:02 PM, Michael McDougall wrote:

6) Let us know how it goes, especially if it goes badly. File bugs! http://developer.apple.com/bugreporter/

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

This email sent to email@hidden
References: 
 >Please use J2SE 5.0 as your default VM (From: Michael McDougall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.