Paul Clapham wrote:It would help if you posted the entire stack-trace from the Java console.
(The most likely guess is that you didn't sign the applet and it's trying to do insecure things, but looking at the stack-trace is better than guessing.)
hello..can you tell me how can i see the java console? i'm using netbeans and glassfish as server, and it doesn't show any errors in glassfish's output; how could i sign the applet and why? since in my policy file i have grant to all permissions?
i used the .bat file to create my jar(from the post above) and it looks like it created well(with the libraries included), but i still get the same ExceptionInInitializerError
Marco Cognolato wrote:Well, an old but good DOS script can do the trick.
Build the java project with Netbeans as usual, then create a directory named 'NewDist' inside NetBeans' project directory and create a file named JarMaker.bat.
Here is the code:
Just double click on it and wait...
At the end of the process a file named YourProjectName.jar will be created inside 'NewDist' directory.
Enjoy.
(P.S.: Remember to include the %JAVA_HOME%/bin in your environment path)
this is the third day in a row i'm trying to make this work -_-