Search:

Type: Posts; User: j831526

Search: Search took 0.10 seconds.

  1. Replies
    11
    Views
    793

    Re: Jar facility appears broken

    It is. That's where the jar command placed it. The manifest I passed to the jar command is in my Brenda directory with everything else. The jar command modifies the manifest file and saves the result...
  2. Replies
    11
    Views
    793

    Re: Jar facility appears broken

    Yes, all the source files, classfiles, and the manifest are in the Brenda directory.

    Charlie
  3. Replies
    11
    Views
    793

    Re: Jar facility appears broken

    Same result:
    java -cp Brenda.jar Brenda.Brenda
    Error: Could not find or load main class Brenda.Brenda

    BTW: what's the p option? It doesn't show up in jar -help.

    Thanx - Charlie
  4. Replies
    11
    Views
    793

    Re: Jar facility appears broken

    Sorry, yes - the package name is also Brenda.

    Charlie
  5. Replies
    11
    Views
    793

    Re: Jar facility appears broken

    As shown above the manifest file contains the single line: Main-Class: Brenda
    And Brenda.class is in the jarfile which I confirmed using the Unarchiver.

    Charlie
  6. Replies
    11
    Views
    793

    Jar facility appears broken

    java -version
    java version "1.7.0_60"
    Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
    Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode

    This is all being done on an iMac...
Results 1 to 6 of 6