Menu

bnj & javadoc won't run

Help
2003-10-15
2003-11-11
  • Ron Worthington

    Ron Worthington - 2003-10-15

    I have RedHat Linux 8 and java jre1.4.2. I can run all *.jar applications I have tried (using java -jar) except bnj and javadoc. I used setenv to assign $BNJDIR to the install directory, $CLASSPATH is not defined, but this is the error I get for both:

    [rworthin@worms ~]$ java -jar bnj-2.0-alpha-20030820.jar
    Failed to load Main-Class manifest attribute from
    bnj-2.0-alpha-20030820.jar

    [rworthin@worms ~]$ java -jar javadoc.jar
    Failed to load Main-Class manifest attribute from
    javadoc.jar

    Any ideas?

    Also, where is the bnj script mentioned in the release notes? I don't find that anywhere?

    Thanks!

     
    • Roby Joehanes

      Roby Joehanes - 2003-11-11

      Hi.

      You must unjar the jar file first into an empty directory. Then use the supplied build script to build it. After that, invoke bnj script to run it.

      Example:
      Assuming you put the bnj jar file in your home dir
      [mine@mycomp ~] mkdir bnj
      [mine@mycomp ~] cd bnj
      [mine@mycomp bnj] jar xvf ../bnj-2.0-alpha-20031105.jar .
      [mine@mycomp bnj] ./build
      [mine@mycomp bnj] ./bnj

      Note: You need to only do this once. Next time, you can just go to the bnj directory and invoke the bnj script as shown in the last line of the example above.

      Please register to our forum at Yahoo Groups:
      http://groups.yahoo.com/group/bndev
      to ensure a more promptly reply.

      Hope this helps,
      -- Roby

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.