bug-gnu-electric
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: export GDS 2


From: Steven Rubin
Subject: Re: export GDS 2
Date: Wed, 11 Jan 2006 17:40:16 -0800

At 01:58 AM 1/11/2006, you wrote:

 Whenever I try to export a layout in GDS 2 format, I get an error
 message:

java.lang.NoSuchMethodError: java.math.BigDecimal.<init>(I)V
        at com.sun.electric.tool.io.output.GDS.outputDouble(GDS.java:924)
at com.sun.electric.tool.io.output.GDS.outputBeginLibrary(GDS.java:621)
        at com.sun.electric.tool.io.output.GDS.start(GDS.java:170)
at com.sun.electric.tool.io.output.Geometry.writeCell(Geometry.java:107)
        at com.sun.electric.tool.io.output.GDS.writeGDSFile(GDS.java:150)
        at com.sun.electric.tool.io.output.Output.writeCell(Output.java:359)
        at com.sun.electric.tool.io.output.Output.access$000(Output.java:82)
at com.sun.electric.tool.io.output.Output$OutputCellInfo.doIt(Output.java:900)
        at com.sun.electric.tool.Job.run(Job.java:493)
        at java.lang.Thread.run(Thread.java:552)

I'm running on Mac OS X.4.3 with Java 1.4.2 and J2SE5.0 selectable. Why would a
 method be missing?  Am I missing a java library?  I'm ecstatic to finally
 be able to design actual hardware on a Mac after waiting for many years and
 now I'm so close!  Any insights are appreciated.

I apologize for this difficulty. Happily, BigDecimal is only used in GDS output.

Nevertheless, the solution to this problem is discussed at this web page:
     http://mckoi.com/database/mail/subject.jsp?id=7247

From my interpretation of that page, the simplest solution is to run Electric under the J2SE5.0 version of Java. However, if you are adventurous and willing to unpack the source code and recompile it, you can cast the constructor's argument to be (long).

   -Steven Rubin





reply via email to

[Prev in Thread] Current Thread [Next in Thread]