954,545 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

deployment issues-java desktop database application

hello,
i'm vasant...recently visited an online tutorial for creating java desktop database application
here is the URL http://www.netbeans.org/kb/docs/java/gui-db.html#running-outside-IDE ...

everything works fine...when building and executing the application from within the NetBeans IDE..6.7
but as instructed in that tutorial...when I tried to run the .jar file after exiting the netbeans IDE, it didnt run...

infact direction has been given in that tutorial for this in the last section....which says that i've to start Java DB from outside the Netbeans IDE...that's where difficulty arises....

i've no idea how to start Java DB manually...

i'd really appreciate if nybody der could...help me out plz

thanx

spring_patel
Newbie Poster
10 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Have you created the database?

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 

yeah...i've created the database as instructed in that tutorial...

spring_patel
Newbie Poster
10 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Well I am not afraid to say that I understand what you mean or what
this thing is:

"Start Java DB manually"

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 

Well I am not afraid to say that I understand what you mean or what this thing is:

"Start Java DB manually"


All I want to do is ...run my project independent of netbeans IDE...
what you would have done if you were in similar situation...

i would request you to go through "Building and Deploying the Application" section of that tuorial...and you will understand my problem...

spring_patel
Newbie Poster
10 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

There is a link at that page:
http://db.apache.org/derby/docs/dev/getstart/

I don't use the databases that NetBeans has. I use mySQL server, and all I need to do is create a database there using sqlplus.

How good you are with sql? Because NetBeans offers ready made easy solutions (auto generated code).

I would suggest to follow the link provided because I don't know anything else.

Also this is a link I tell a lot of people to follow. It is a JSP tutorial, but it can help you create your own database independent of IDE
http://www.daniweb.com/forums/thread141776.html

You will need to have the mySQL server as described

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 

There is a link at that page: http://db.apache.org/derby/docs/dev/getstart/

I don't use the databases that NetBeans has. I use mySQL server, and all I need to do is create a database there using sqlplus.

How good you are with sql? Because NetBeans offers ready made easy solutions (auto generated code).

I would suggest to follow the link provided because I don't know anything else.

Also this is a link I tell a lot of people to follow. It is a JSP tutorial, but it can help you create your own database independent of IDE http://www.daniweb.com/forums/thread141776.html

You will need to have the mySQL server as described

i really appreciate you trying to solve my problem

i now SQL very well...it's just that i was going through that tutorial and created that application during that course...

and i just want to know how would i be able to run that application outside the Netbeans IDE...

yes they have provided the link...but i didnt find anything useful out of it...

spring_patel
Newbie Poster
10 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

This portion of the JavaDB tutorial they link to describes how to start the db server: http://db.apache.org/derby/docs/dev/getstart/twwdactivity2.html

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

I'm facing the same dificulty, based on the same tutorial, to start Java DB and run my application outside IDE.
Can anybody help with the correct procedures to achieve this?

gabrielcgoncalo
Newbie Poster
1 post since Nov 2010
Reputation Points: 10
Solved Threads: 0
 

Did you bother to read the link I posted?

Ezzaral
Posting Genius
Moderator
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You