Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java executable jar with embedded Derby DB

 
Darko Krstic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dears,

I am trying for a while to make executable JAVA application having embedded DB (derby DB), but facing some problems, and need your valuable help.

Namely, I am using Eclipse as environment.
I export Java app to RUNNABLE JAR file, and it works fine on my desktop machine.

But, when I move that JAR file to another machine which have no JAVA background/environment....because point is to send it to another user who will just get exe file, double click it and work with it, I face problem.

The DB is not only readable, since application is inserting data in tables.
So, it works fine on my machine, but when I send the same JAR file to another machine, I get error:
"Schema TEST does not exist"
I can see application but without any data, like there is no connection with DB. So, it is useless.

Even I use JSmooth, Install4j.... to convert JAR to exe file, I get the same error.
So, first I have to make JAR file working on another machine.

Seems to me, I am doing something wrong with DB files.

Please let me know what info you need more from my side, and let me know how I can do this.

Thank you in advance

BR

Darko
 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello D. Kos, welcome to the Ranch, sorry no one has replied, but been a long bank holiday here in the UK, so I for one have been far to busy spending time with the kids.

and a post has been sent to you about an administrative problem.
 
Wendy Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cheated and asked the guys at my previous job who wrapped up our Debry DB how they did it, they sent me this link:

http://docs.oracle.com/javadb/10.3.3.0/devguide/
 
Darko Krstic
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wendy Gibbons wrote:I cheated and asked the guys at my previous job who wrapped up our Debry DB how they did it, they sent me this link:

http://docs.oracle.com/javadb/10.3.3.0/devguide/


Thanks a lot, I will read it.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic