• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java executable jar with embedded Derby DB

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 L Gibbons
Bartender
Posts: 1111
Eclipse IDE Oracle VI Editor
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
reply
    Bookmark Topic Watch Topic
  • New Topic