kyappel
01-24-2002, 11:47 AM
Hi.
I have Mac OS X and running IE 5.1. Some Swing applet from Sun's
swing examples page runs, some don't. I contacted Apple, and I was
told to reinstall the Java stuff again:<.
I tried using the APPLET tag in my HTML source to load a JApplet from a jar file, and nothing happens! Should there be some kind of alert or exceptions in the Java Messages box? The annoying part is that there is no feedback on if IE find the jar file or not...
How to verify if JVM is installed properly? I opened a terminal
prompt, and typed "env", there is no "$CLASSPATH" variable set in the
environment like in a NT machine. I looked at the
/System/Library/Java directory, the JavaConfig.plist has the following
contents:
{
Vendor = apple;
apple = {
VM = "/usr/bin/java";
DefaultClasspath =
"$HOME/Library/Java:$NEXT_ROOT/Library/Java:$NEXT_ROO
T/System/Library/Java:$NEXT_ROOT/Network/Library/Java:$NEXT_ROOT/System/Library/
Frameworks/JavaVM.framework/Classes/classes.jar:$NEXT_ROOT/System/Library/Framew
orks/JavaVM.framework/Classes/ui.jar";
DefaultBeanpath =
"$HOME/Library/JavaBeans:$NEXT_ROOT/Library/JavaBeans:
$NEXT_ROOT/System/Library/JavaBeans:$NEXT_ROOT/Network/Library/JavaBeans";
Compiler = "/usr/bin/javac";
Headers = "$NEXT_ROOT/System/Library/Frameworks/JavaVM.framework/Headers
";
Library = "$NEXT_ROOT/System/Library/Frameworks/JavaVM.framework/Librari
es/libjvm.dylib";
};
}
Then I tried to echo "$NEXT_ROOT", it is not defined. So it is very
confusing how this JVM actually works to find the library files. If
everything is installed properly, what should be the environment
values?
Thanks.
I have Mac OS X and running IE 5.1. Some Swing applet from Sun's
swing examples page runs, some don't. I contacted Apple, and I was
told to reinstall the Java stuff again:<.
I tried using the APPLET tag in my HTML source to load a JApplet from a jar file, and nothing happens! Should there be some kind of alert or exceptions in the Java Messages box? The annoying part is that there is no feedback on if IE find the jar file or not...
How to verify if JVM is installed properly? I opened a terminal
prompt, and typed "env", there is no "$CLASSPATH" variable set in the
environment like in a NT machine. I looked at the
/System/Library/Java directory, the JavaConfig.plist has the following
contents:
{
Vendor = apple;
apple = {
VM = "/usr/bin/java";
DefaultClasspath =
"$HOME/Library/Java:$NEXT_ROOT/Library/Java:$NEXT_ROO
T/System/Library/Java:$NEXT_ROOT/Network/Library/Java:$NEXT_ROOT/System/Library/
Frameworks/JavaVM.framework/Classes/classes.jar:$NEXT_ROOT/System/Library/Framew
orks/JavaVM.framework/Classes/ui.jar";
DefaultBeanpath =
"$HOME/Library/JavaBeans:$NEXT_ROOT/Library/JavaBeans:
$NEXT_ROOT/System/Library/JavaBeans:$NEXT_ROOT/Network/Library/JavaBeans";
Compiler = "/usr/bin/javac";
Headers = "$NEXT_ROOT/System/Library/Frameworks/JavaVM.framework/Headers
";
Library = "$NEXT_ROOT/System/Library/Frameworks/JavaVM.framework/Librari
es/libjvm.dylib";
};
}
Then I tried to echo "$NEXT_ROOT", it is not defined. So it is very
confusing how this JVM actually works to find the library files. If
everything is installed properly, what should be the environment
values?
Thanks.