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 (Maverick opsys) from the tcsh shell.
I built a jarfile (jarbuild is my python script but the executed jar command is printed) while positioned in the Brenda directory:
jarbuild Brenda
Executing: jar cv0mf Manifest.txt Brenda.jar *.class
added manifest
adding: Brenda.class(in = 2063) (out= 2063)(stored 0%)
adding: BrendaController$1.class(in = 1170) (out= 1170)(stored 0%)
adding: BrendaController.class(in = 2382) (out= 2382)(stored 0%)
adding: BrendaITC.class(in = 507) (out= 507)(stored 0%)
adding: BrendaModel$1.class(in = 700) (out= 700)(stored 0%)
adding: BrendaModel.class(in = 3251) (out= 3251)(stored 0%)
adding: BrendaView$1.class(in = 851) (out= 851)(stored 0%)
adding: BrendaView.class(in = 3418) (out= 3418)(stored 0%)
adding: Message.class(in = 908) (out= 908)(stored 0%)
adding: Trace.class(in = 898) (out= 898)(stored 0%)
adding: U$1.class(in = 612) (out= 612)(stored 0%)
adding: U.class(in = 2203) (out= 2203)(stored 0%)
adding: messageID.class(in = 1787) (out= 1787)(stored 0%)
adding: messageSrc.class(in = 903) (out= 903)(stored 0%)
adding: state.class(in = 801) (out= 801)(stored 0%)
My Manifest file has one line which ends with a newline character: Main-Class: Brenda
When I try and execute:
java -jar Brenda.jar
Error: Could not find or load main class Brenda
Also, when I try and execute jar -t Brenda.jar to see the contents of my jarfile, the command simply hangs.
Thanx for any suggies - Charlie