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

Recommended Answers

All 9 Replies

Have you created the database?

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

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

"Start Java DB manually"

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...

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

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...

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?

Did you bother to read the link I posted?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.