I have this problem: i want to create a jar file from a package called pt.rs.divelog
i use this dir:
C:\Java_Granel\Classes\pt\rs\divelog
inside this last one i've my classes and a folder named images with gifs, etc inside.
I tried creating the .mf and the .jar inside the last and first folders, but i get msgs errors.
When i run the app from msdos, i use C:\Java_Granel\Classes\pt\rs\divelog>java -classpath C:\java_granel\classes pt.rs.divelog.DiveLog
to compile from msdos i use:
C:\Java_Granel\Classes\pt\rs\divelog>javac -classpath C:\Java_Granel\Classes\ DiveLog.java
How should i organize things:
where to put the manifest?
where to create the jar?
from which dir should i run the command line?
i use this dir:
C:\Java_Granel\Classes\pt\rs\divelog
inside this last one i've my classes and a folder named images with gifs, etc inside.
I tried creating the .mf and the .jar inside the last and first folders, but i get msgs errors.
When i run the app from msdos, i use C:\Java_Granel\Classes\pt\rs\divelog>java -classpath C:\java_granel\classes pt.rs.divelog.DiveLog
to compile from msdos i use:
C:\Java_Granel\Classes\pt\rs\divelog>javac -classpath C:\Java_Granel\Classes\ DiveLog.java
How should i organize things:
where to put the manifest?
where to create the jar?
from which dir should i run the command line?