I understand form that I must have an executable jar.
My instruction doesn't state anything about .class files, but how can I execute the jar without calss files? Also, how about stubs , I genereate the stubs using rmic compiler, and I leave in the bin directory.
I tried to add the full path of the main class file, and it didn't work.
I tried to add the class name in the manifest using:
and still didn't work.
It works only if I generate the jar file while I am in the bin directory, I don't know what else to do.
Does this mean that if my assigment is accepted and i fail the essay exam, all i have to do is resubmit my assignment? If the assignment is accepted I can skip the essay exam on the second go-around?
I created the manifes.mf file. which contains
my directory structure is:
suncertify>bin //has all classes
suncertify>code //has the source files
suncertify>manifest.mf // the manifest file
C:\dev>jar cmf suncertify/manifest.mf runme.jar suncertify*
when I run it I got class not found error.
C:\dev>java -jar runme.jar
Exception in thread "main" java.lang.NoClassDefFoundError: Runme
Runme.class is in the default package:
You may assume that at any moment, at most one program is accessing the database file; therefore your locking system only needs to be concerned with multiple concurrent clients of your server.
I'm going to use RMI - so you mean the Data class would need to be bound?
I'm using a private static vector to hold the record Id's of locked bookings.
When a new client connects the server doles out the Bookings held in the list. Each GUI will have its own Data class, but I thought of making the DataManager a singleton and let it deal with reading/writing and maintaining the list of Bookings. The DataManager will be created when the first client connects.
Can anyone tell me if they see anything wrong in this approach??