Menu

#8 Problem compiling JSpecView application

v1.0_(example)
open
nobody
None
1
2013-03-27
2013-03-26
No

I'm trying to update JMol in Fedora to the 13 series, which requires packaging JSpecView. As a common policy in *nix distributions, everything is compiled from source, so prepackaged jars can't be used.

I'm able to run ant succesfully to build the project, but for some reason I end up with an incomplete jar: ant Run results in
[java] Error: Could not find or load main class jspecview.application.MainFrame

What might be the cause of this behavior? I'm running Fedora 18, with
Apache Ant(TM) version 1.8.4 compiled on November 27 2012

Discussion

  • Anonymous

    Anonymous - 2013-03-26

    Susi,
    I compile from eclipse using the ant build and don't have a problem. How are you building? From build.xml there are various MAKE options identified that create the JARS

     
  • Anonymous

    Anonymous - 2013-03-27

    I'm building with ant.

    Build library

    cd JSpecViewLib
    ant
    cd ..

    cd JSpecView
    ant make-application-jar make-applet-jar

    This creates the .jar files but trying to run the application results in the error of the problem report.

     

Anonymous
Anonymous

Add attachments
Cancel