wordman
Two Thousand Club
Of which Java is really neither. IBM, for example, makes its own Java virtual machines. Java certainly isn't open source, but neither is it entirely closed.Flagg said:Hooray for closed source proprietary software!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature currently requires accessing the site using the built-in Safari browser.
Of which Java is really neither. IBM, for example, makes its own Java virtual machines. Java certainly isn't open source, but neither is it entirely closed.Flagg said:Hooray for closed source proprietary software!
Exception details.
Class: java.lang.ExceptionInInitializerError
Message: null
Stack trace:
net.sf.anathema.Anathema.startApplication(Anathema.java:24)
org.java.plugin.boot.Boot.boot(Boot.java:346)
org.java.plugin.boot.Boot.main(Boot.java:243)
net.sf.anathema.AnathemaBootLoader.main(AnathemaBootLoader.java:11)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
apple.launcher.LaunchRunner.run(LaunchRunner.java:115)
apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
Caused by java.lang.NullPointerException
net.sf.anathema.AnathemaSplashscreen.<init>(AnathemaSplashscreen.java:34)
net.sf.anathema.ProxySplashscreen.<init>(ProxySplashscreen.java:13)
net.sf.anathema.ProxySplashscreen.<clinit>(ProxySplashscreen.java:5)
net.sf.anathema.Anathema.startApplication(Anathema.java:24)
org.java.plugin.boot.Boot.boot(Boot.java:346)
org.java.plugin.boot.Boot.main(Boot.java:243)
net.sf.anathema.AnathemaBootLoader.main(AnathemaBootLoader.java:11)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:597)
apple.launcher.LaunchRunner.run(LaunchRunner.java:115)
apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
-----------------------------------------------
System properties:
apple.awt.graphics.UseOpenGL=false
apple.awt.graphics.UseQuartz=false
apple.laf.useScreenMenuBar=true
awt.nativeDoubleBuffering=true
awt.toolkit=apple.awt.CToolkit
defaultrepository=%USER_HOME%/Library/Application Support/Anathema
file.encoding=MacRoman
file.encoding.pkg=sun.io
file.separator=/
gopherProxySet=false
java.awt.graphicsenv=apple.awt.CGraphicsEnvironment
java.awt.printerjob=apple.awt.CPrinterJob
java.class.path=/Applications/Games/Anathema.app/Contents/Resources/Java/anathema.jar
java.class.version=50.0
java.endorsed.dirs=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/endorsed
java.ext.dirs=/Users/lward/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/lib/ext
java.home=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home
java.io.tmpdir=/var/folders/LC/LCPBjjFYEzqYTVyw3K9ydE+++TI/-Tmp-/
java.library.path=/Applications/Games/Anathema.app/Contents/Resources/Java:/System/Library/PrivateFrameworks/JavaApplicationLauncher.framework/Resources:.:/Users/lward/Library/Java/Extensions:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_15-b03-219
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Apple Inc.
java.vendor.url=http://www.apple.com/
java.vendor.url.bug=http://bugreport.apple.com/
java.version=1.6.0_15
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Apple Inc.
java.vm.version=14.1-b02-90
jpf.boot.mode=shell
line.separator=
mrj.version=1060.1.6.0_15-219
org.java.plugin.jpf-version=1.5.1
os.arch=i386
os.name=Mac OS X
os.version=10.6
path.separator=:
sun.arch.data.model=32
sun.awt.exception.handler=apple.awt.CToolkit$EventQueueExceptionHandler
sun.boot.library.path=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Libraries
sun.cpu.endian=little
sun.cpu.isalist=
sun.io.unicode.encoding=UnicodeLittle
sun.jnu.encoding=MacRoman
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=unknown
user.country=US
user.dir=/Applications/Games/Anathema.app/Contents/Resources/Java
-----------------------------------------------
Runtime info:
Memory TOTAL / FREE / MAX: 65011712 / 55552256 / 65011712
Available processors: 4
System class loader: sun.misc.Launcher$AppClassLoader@1a7bf11
Thread context class loader: sun.misc.Launcher$AppClassLoader@1a7bf11
Security manager: null
This means, it sounds like, that it may be difficult to do build-once-run-anywhere with Anathema on the Mac. My recollection is that Tiger, for example, will never have Java 1.6 on it, while Snow Leopard appears to have nothing else. Joy.After Snow Leopard installation, only Java SE 6 remains and is used for all Java applications and applets; previous Java versions (which were present in Leopard and Tiger) are gone. This may cause issues with Java apps/applets that don't work correctly with Java SE 6: these will need to be updated to work with Snow Leopard.
private boolean isSplashScreenSupported() {
String version = System.getProperty("java.version");
return !version.startsWith("1.5") && !version.startsWith("1.6") && !version.startsWith("1.7"); //$NON-NLS-1$ //$NON-NLS-2$
}
public static boolean isSplashScreenSupported()
{
String osName = (String)AccessController.doPrivileged(new GetPropertyAction("os.name"));
return !osName.contains("Mac OS X");
}
It works. Thanks a million!wordman said:Should be a bit more bullet proof. One odd thing is that the splashscreen works fine in the debugger. Might be some order of initialization thing.