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: Java 1.5 plist




On Aug 14, 2005, at 7:44 PM, Anthony Magee wrote:

Greg et. al.,

Okay now I'm getting somewhere. After running the app from the terminal I get:

AWM01:~ macawm$ java -classpath /System/Library/Frameworks/ JavaVM.framework/Versions/1.5.0/Home/lib/deploy.jar com.sun.deploy.panel.ControlPanel

Exception in thread "main" java.lang.NullPointerException
at com.sun.deploy.panel.AppleJREListModel.refresh (AppleJREListModel.java:72)
at com.sun.deploy.panel.AppleJREListModel.<init> (AppleJREListModel.java:36)
at com.sun.deploy.panel.AppleJREDialog.<init> (AppleJREDialog.java:34)

The application using a java15 alias on my 1.4 boot and the indicated additional classpath seems to work fine for me.


Somewhat interestingly despite warning that the class version is 49 and it doesn't support beyond 47 my old version of jad disassembles this class just fine. Line numbers of course probably don't match the exception's. But if it disassembles all right you might guess it would compile fine as well.
Without getting into the rightness or wrongness of using a decompiler in this instance. If it concerns anyone they can of course indicate so. Anyhow, I'm not saying anything about disassembled contents on the off-chance it does upset someone.
Personally I figure what you and your disassembler do in the privacy of your own home for debugging purposes is your business.


Mike Hall        email@hidden
http://www.spacestar.net/users/mikehall
http://sourceforge.net/projects/macnative



_______________________________________________
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: 
 >Re: Java 1.5 plist (From: Greg Guerin <email@hidden>)
 >Re: Java 1.5 plist (From: Anthony Magee <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.