| View previous topic :: View next topic |
| Author |
Message |
narayanasparta
Joined: 09 Jan 2010 Posts: 15 Location: Bangalore
|
Posted: Sat Jan 09, 2010 8:31 am Post subject: Embedded JavaDB problem. |
|
|
I want to say first that I have already tried reading all similar posts and found no answer
In the Services window I right-clicked and chose Connect using on the JavaDB ( Embedded ) driver. It then says I must first have a database . The only way figured out by me was to create database using Right Click > Start Database on the Java DB node. The problem is that this creates a Network Database and not an Embedded Database .
Can anybody suggest a way to create an Embedded Database using the Services window so that instead of writing code, I can use netbeans to create my tables ?  |
|
| Back to top |
|
 |
Zilog
Joined: 09 Jan 2010 Posts: 3 Location: Cluj-Napoca
|
Posted: Sat Jan 09, 2010 9:21 pm Post subject: |
|
|
You have to select services, database node, driver node then select java DB (embedded) connect using new database connection window appears. In the database field write the database name like this mydabase;create=true, don't forget create =true, type an username and an password and click ok an embedded database is created.
Or you can write directly in the URL field jdbc:derby:mydatabase;create=true insert user and password and click ok!
Hope I could help! please excuse my english writing :) |
|
| Back to top |
|
 |
narayanasparta
Joined: 09 Jan 2010 Posts: 15 Location: Bangalore
|
Posted: Mon Jan 11, 2010 12:08 pm Post subject: |
|
|
Thank you. This solves my problem . Thanks a lot.
I am a new user too.
My software is almost over . I will post a link to it for you to download . It can plot 2D graphs in 2 coordinate systems and 3D in 3 coordinate systems. It can solve expressions. There is support for custom creation of variables, functions and graphs. It is just a mathematics desktop software. |
|
| Back to top |
|
 |
Zilog
Joined: 09 Jan 2010 Posts: 3 Location: Cluj-Napoca
|
Posted: Mon Jan 11, 2010 4:50 pm Post subject: |
|
|
Glad I could help!
I just found out how to create an embedded derby database after some hours of serching the web, the I saw your post with the same problem and made an account to post a reply. Good luck with your software and don't forget the link
I am trying to develop an software for a friends small business but I am still in the beginning phase where I have to find out some of the functionalities of netbeans  |
|
| Back to top |
|
 |
narayanasparta
Joined: 09 Jan 2010 Posts: 15 Location: Bangalore
|
|
| Back to top |
|
 |
Zilog
Joined: 09 Jan 2010 Posts: 3 Location: Cluj-Napoca
|
Posted: Tue Jan 19, 2010 3:16 pm Post subject: |
|
|
Just installed java 3d and I am trying out your App but I am not quite sure how it works and I have an question: how have you made the installer do you have an guide or an link to something similar!
My App is far from finish but I will post an link to it if I have done something worthy of showing:)
my email adress is nicusor_petrici at yahoo dot com ! |
|
| Back to top |
|
 |
narayanasparta
Joined: 09 Jan 2010 Posts: 15 Location: Bangalore
|
Posted: Wed Feb 10, 2010 3:39 pm Post subject: Java 3D |
|
|
Since making the end user find the right installation files for Java 3D is very difficult compared to installation of Java, I suggest you make two different versions of your software and add these files to the the directory ( or folder ) where you have the program or .jar file :
These can be taken from (java 3d intallation folder) \ lib \ ext to your folder
1.j3dcore.jar
2.j3dutils.jar
3.vecmath.jar
And do not forget to copy everything from (java 3d intallation folder) \ bin to your folder so that those files are available at runtime.
If you do not get it, I have made windows 32 and windows 64 bit versions of the application. For your reference, install it and peek into the installation directory to see for yourself. My site is here : http://chromehub.webs.com/apps/links/
Refer for further details : http://www.excelsior-usa.com/kb/000028.html |
|
| Back to top |
|
 |
Sophia Clark
Joined: 04 Sep 2010 Posts: 10
|
Posted: Mon Sep 06, 2010 10:02 am Post subject: embedded database |
|
|
Hi,
I am using netbeans 6.9 I have created database in services window in javaDB by default it gives me clientDriver but i want embedded driver on an existing database. how to do it.
Please help.
Thanx. |
|
| Back to top |
|
 |
Franz Posted via mailing list.
|
Posted: Wed Sep 08, 2010 5:17 pm Post subject: Embedded JavaDB problem. |
|
|
Hi,
Am 06.09.2010 12:02, schrieb Sophia Clark:
| Quote: | Hi,
I am using netbeans 6.9 I have created database in services window in javaDB by default it gives me clientDriver but i want embedded driver on an existing database. how to do it.
|
have you tried
http://wiki.netbeans.org/GetStartedwithJavaDB
| Quote: | Load the Apache Derby embedded JDBC driver
Class.forName("org.apache.derby.jdbc.EmbeddedDriver");
|
Regards
fg |
|
| Back to top |
|
 |
|