Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

find db.db in a jar file by JFileChooser

 
Davidd Smith
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, guys,
How to find db.db which is in a jar file using a JFileChooser?
Regards
Davidd
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Davidd,
I strongly recommend you dont put the db.db file inside a jar file. Just have it as a normal file on your hard drive. You will find it much easier to work with.
Regards, Andrew
 
Davidd Smith
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Andrew,
My instructions say:
All elements of your submission must be packaged in a single JAR file. The JAR file must have the following layout and contents in its root:
The executable JAR containing the programs. This must be called runme.jar.
The original, unchanged database file that was supplied to you.

Need I choose the database file in the JAR file?
Regards
Davidd
[ September 13, 2003: Message edited by: Davidd Smith ]
 
Andrew Monkhouse
author and jackaroo
Marshal Commander
Pie
Posts: 12014
220
C++ Firefox Browser IntelliJ IDE Java Mac Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Davidd,
This is talking about what you submit. You will submit one jar file (probably named scjda-xxxxxxxx.jar). This jar file will contain all the elements of your submission. Such as:
  • the runme.jar file
  • the database file
  • your source ....


  • The examiner will unjar your submission, which will mean that he now has bot the runme.jar file and the database file as separate files in the same directory.
    Does this make sense?
    Regards, Andrew
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic