Re: Unable to add plug-in IRSIM

Steven Rubin <[email protected]> Thu, 10 Dec 2009 09:45:42 -0800
Newsgroups gmane.comp.cad.electric.general
Message-ID <[email protected]>
--===============1839467709==
Content-type: multipart/alternative;
 boundary="Boundary_(ID_W54DBloiGB1x7VjyJsMP3Q)"


--Boundary_(ID_W54DBloiGB1x7VjyJsMP3Q)
Content-type: text/plain; CHARSET=US-ASCII; format=flowed
Content-transfer-encoding: 7BIT

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 

--Boundary_(ID_W54DBloiGB1x7VjyJsMP3Q)
Content-type: text/html; CHARSET=US-ASCII
Content-transfer-encoding: 7BIT

<html>
<body>
At 01:34 PM 12/8/2009, you wrote:<br>
<blockquote type=cite class=cite cite="">I am trying to use IRSIM with
Electric. In the command window, my current directory has the electric
binary and IRSIM binary. I run:<br>
&gt;java -classpath
&quot;electricBinary-8.09.jar;electricIRSIM-8.09.jar&quot;
com.sun.electric.Launcher<br>
just like in the documentation online.<br><br>
I get this error message:<br>

<dl>
<dd>Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError:
com<br>

<dd>/sun/electric/Launcher<br>

<dd>Caused by: java.lang.ClassNotFoundException:
com.sun.electric.Launcher<br>

<dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
java.net.URLClassLoader$1.run(Unknown Source)<br>

<dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
java.security.AccessController.doPrivileged(Native Method)<br>

<dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
java.net.URLClassLoader.findClass(Unknown Source)<br>

<dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
java.lang.ClassLoader.loadClass(Unknown Source)<br>

<dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)<br>

<dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
java.lang.ClassLoader.loadClass(Unknown Source)<br>

<dd>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; at
java.lang.ClassLoader.loadClassInternal(Unknown Source)<br>

<dd>Could not find the main class: com.sun.electric.Launcher.&nbsp;
Program will exit.<br><br>

</dl><br>
In electric I can not select the option of doing IRSIM like in the
tutorials. </blockquote><br>
Can you use the same command to start Electric without IRSIM?&nbsp; That
is, can you type:<br><br>
&nbsp;&nbsp;&nbsp;&nbsp; java -classpath
&quot;electricBinary-8.09.jar&quot; com.sun.electric.Launcher<br><br>
This is testing whether your jar file is corrupted.<br><br>
If this works, then are you using the correct separator character (you
use &quot;;&quot; but some systems need &quot;:&quot;).<br><br>
Finally, can you connect multiple jar files with this technique?&nbsp;
Try downloading the bean shell and make it the second jar file in that
command.<br><br>
&nbsp;&nbsp; -Steven Rubin</body>
</html>

--Boundary_(ID_W54DBloiGB1x7VjyJsMP3Q)--



--===============1839467709==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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

--===============1839467709==--