My first guess -- check if you are using gcj rather than Sun's java. gcj is installed by default on ubuntu and definitely shows the sorts of crazy errors you listed. If you can verify that you're using Sun's java engine rather than gcj.

Matt

[EMAIL PROTECTED] wrote:
Hello everybody.
Many thanks to Christopher who has helped me a lot with ptolemy. It works fine
on Solaris 10 with gnu make.
Now I am trying to install ptolemy on ubuntu 7.10 but I have too many errors
with java.

I have set PTII, PATH and CLASSPATH variables.
I do not know what is wrong.

I would be grateful if I had a suggestion for a workaround.

Thanks in advance,
Eva Kolega
Phd student
National Technical University of Athens, GREECE

----------------SAMPLE ERRORS----------------------------------
Caused by: java.lang.NoClassDefFoundError: Could not initialize class
ptolemy.data.type.TypeLattice
 at ptolemy.moml.filter.ActorIndex.main(ActorIndex.java:264)
Parsing:
file:/usr/local/src/ptII6.0.2/ptolemy/domains/sdf/demo/LMSAdaptive/LMSAdaptive.xml
Warning, failed to parse
$CLASSPATH/ptolemy/domains/sdf/demo/LMSAdaptive/LMSAdaptive.xml
com.microstar.xml.XmlException: XML element "property" triggers exception:
  java.lang.NoClassDefFoundError: Could not initialize class
ptolemy.data.type.TypeLattice in
http://ptolemy.eecs.berkeley.edu/xml/dtd/MoML_1.dtd at line 7 and column 69
Caused by:
 java.lang.NoClassDefFoundError: Could not initialize class
ptolemy.data.type.TypeLattice


----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Matthew B. Jones
Director of Informatics Research and Development
National Center for Ecological Analysis and Synthesis (NCEAS)
UC Santa Barbara
[EMAIL PROTECTED]                       Ph: 1-907-523-1960
http://www.nceas.ucsb.edu/ecoinfo
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

----------------------------------------------------------------------------
Posted to the ptolemy-hackers mailing list.  Please send administrative
mail for this list to: [EMAIL PROTECTED]

Reply via email to