Re: Unable to add plug-in IRSIM
Bryan Buckley <[email protected]> Thu, 10 Dec 2009 14:58:45 -0600
| Newsgroups | gmane.comp.cad.electric.general |
|---|---|
| Message-ID | <[email protected]> |
--===============0594105187== Content-Type: multipart/alternative; boundary=001485f7bf1ab70806047a66125a --001485f7bf1ab70806047a66125a Content-Type: text/plain; charset=ISO-8859-1 I am able to use it now. I think the problem was in two parts. When using the command line, with the correct parameters, I would get this error. I moved the files to a shorter path name on my file system and it worked. The other part of the problem was with my using a shortcut to try to launch Electric with IRSIM. The target was: java -classpath "electricBinary-8.09.jar;electricIRSIM-8.09.jar" com.sun.electric.Launcher but i had a parameter for "Start In." Removing the parameter allowed me to use the shortcut to launch Electric with IRSIM, as long as the shortcut is in the same folder as IRSIM.jar and electric.jar. Thank You, Bryan On Thu, Dec 10, 2009 at 11:45 AM, Steven Rubin <[email protected]>wrote: > 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 > --001485f7bf1ab70806047a66125a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I am able to use it now.<br><br>I think the problem was in two parts.<br><b= r>When using the command line, with the correct parameters, I would get thi= s error. I moved the files to a shorter path name on my file system and it = worked. <br> <br>The other part of the problem was with my using a shortcut to try to la= unch Electric with IRSIM. The target was:<br><div style=3D"margin-left: 40p= x;">java -classpath "electricBinary-8.09.jar;electricIRSIM-8.09.jar&qu= ot; com.sun.electric.Launcher<br> </div>but i had a parameter for "Start In." Removing the paramete= r allowed me to use the shortcut to launch Electric with IRSIM, as long as = the shortcut is in the same folder as IRSIM.jar and electric.jar.<br><br> Thank You,<br>Bryan <br><br><div class=3D"gmail_quote">On Thu, Dec 10, 2009= at 11:45 AM, Steven Rubin <span dir=3D"ltr"><<a href=3D"mailto:strubin@= staticfreesoft.com">[email protected]</a>></span> wrote:<br><bl= ockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204= , 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> <div><div><div></div><div class=3D"h5"> At 01:34 PM 12/8/2009, you wrote:<br> <blockquote type=3D"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> >java -classpath "electricBinary-8.09.jar;electricIRSIM-8.09.jar" com.sun.electric.Launcher<br> just like in the documentation online.<br><br> I get this error message:<br> <dl> <dd>Exception in thread "main" java.lang.NoClassDefFoundError: com<br> </dd><dd>/sun/electric/Launcher<br> </dd><dd>Caused by: java.lang.ClassNotFoundException: com.sun.electric.Launcher<br> </dd><dd>=A0=A0=A0=A0=A0=A0=A0 at java.net.URLClassLoader$1.run(Unknown Source)<br> </dd><dd>=A0=A0=A0=A0=A0=A0=A0 at java.security.AccessController.doPrivileged(Native Method)<br> </dd><dd>=A0=A0=A0=A0=A0=A0=A0 at java.net.URLClassLoader.findClass(Unknown Source)<br> </dd><dd>=A0=A0=A0=A0=A0=A0=A0 at java.lang.ClassLoader.loadClass(Unknown Source)<br> </dd><dd>=A0=A0=A0=A0=A0=A0=A0 at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)<br> </dd><dd>=A0=A0=A0=A0=A0=A0=A0 at java.lang.ClassLoader.loadClass(Unknown Source)<br> </dd><dd>=A0=A0=A0=A0=A0=A0=A0 at java.lang.ClassLoader.loadClassInternal(Unknown Source)<br> </dd><dd>Could not find the main class: com.sun.electric.Launcher.=A0 Program will exit.<br><br> </dd></dl><br> In electric I can not select the option of doing IRSIM like in the tutorials. </blockquote><br></div></div> Can you use the same command to start Electric without IRSIM?=A0 That is, can you type:<br><br> =A0=A0=A0=A0 java -classpath "electricBinary-8.09.jar" 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 ";" but some systems need ":").<br><br> Finally, can you connect multiple jar files with this technique?=A0 Try downloading the bean shell and make it the second jar file in that command.<br><font color=3D"#888888"><br> =A0=A0 -Steven Rubin</font></div> </blockquote></div><br> --001485f7bf1ab70806047a66125a-- --===============0594105187== 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 --===============0594105187==--