At 01:34 PM 12/8/2009, you wrote:
I am trying to use IRSIM with Electric. In the command window, my current directory has the electric binary and IRSIM binary. I run: >java -classpath "electricBinary-8.09.jar;electricIRSIM-8.09.jar" com.sun.electric.Launcher
just like in the documentation online.

I get this error message:
Exception in thread "main" java.lang.NoClassDefFoundError: com
/sun/electric/Launcher
Caused by: java.lang.ClassNotFoundException: com.sun.electric.Launcher
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: com.sun.electric.Launcher.  Program will exit.


In electric I can not select the option of doing IRSIM like in the tutorials.

Can you use the same command to start Electric without IRSIM? That is, can you type:

     java -classpath "electricBinary-8.09.jar" com.sun.electric.Launcher

This is testing whether your jar file is corrupted.

If this works, then are you using the correct separator character (you use ";" but some systems need ":").

Finally, can you connect multiple jar files with this technique? Try downloading the bean shell and make it the second jar file in that command.

-Steven Rubin
_______________________________________________
Discuss-gnu-electric mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnu-electric

Reply via email to