[opensuse] Starting a Java application



I have been using this Java app for many years under OS/2, and want now to run
it in openSuSE.

The starting command that I have been trying to use (from a terminal, in the
application's own directory) is:

<java -cp ./lib/genj.jar:./lib/jhbasic.jar genj.app.App>

The two jar files are what I know to be required to run this application, and
they are just where they should be; spelling and case are correct. The jar
files have three "r"s in their permisisons. Yet running this command yields
only the exception warning:

Exception in thread "main" java.lang.NoClassDefFoundError: genj/app/App

I must be doing something wrong, but I don't see what.

--
Stan Goodman
Qiryat Tiv'on
Israel
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] Starting a Java application
    ... The starting command that I have been trying to use (from a terminal, ... The two jar files are what I know to be required to run this application, ... The jar ... To be clear, in OS/2, ...
    (SuSE)
  • Re: [opensuse] Starting a Java application
    ... The starting command that I have been trying to use (from a terminal, ... The jar files have three "r"s in their permisisons. ... The release I have does have a run script (also for Windows and OS/2). ...
    (SuSE)
  • Re: Icon Launcher + .jar file
    ... need the java -jar command? ... it's because JAR files neither contain native code that can ... nor a sha-bang as the ...
    (Ubuntu)
  • Re: problem compiling project, classpath in xml ".classpath" ""
    ... i'm trying to compile a project, it has about 70 jar files. ... with parameters on the command line. ... to understand the ant build tool better, ... Building projects is much easier to do ...
    (comp.lang.java.programmer)
  • Re: [opensuse] Starting a Java application
    ... The jar files are in a subdirectory ... You could confirm that by entering the command: ... Clicking on the icon brings up the exasperating announcement ... Do other Java applications work OK on the same system that fails to ...
    (SuSE)