Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: where is my JavaDB/Derby?

  1. #1
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default where is my JavaDB/Derby?

    this has been a talk around since(they say) the company co-bundled JavaDB in latest releases of java platform..
    i did everything step-by-step according to the procedures stated on my IDE's(netbeans) hompage, and Oracle's page regarding with the installation of JDK 6 with a JavaDB/Derby inside of it, i found the same issues all over the web, and none of them resolved the issue

    they say that in the installation that the JavaDB/Derby is included and will be installed, then where is my db folder? the derby folder?
    i clicked Services in Netbeans. there is a Node for JavaDB, but i can connect to derby.. i ran the installation again, nothing happens,
    there is no Sun folder, db folder inside my JDK folder, even Windows 7 search bar cant find any match when i type derby or javadb, any help please..

    and by the way.. i admit i have some problem with english, so my question is is JavaDB == Derby? with my understanding on things i am reading on the web? it never says literally as it is like JavaDB is Derby.. all i can see is descriptions, stating that JavaDB is included to JDK 6 Higher and no need to install.. im hell of a potato now, baked with confusions..
    Last edited by chronoz13; August 18th, 2012 at 11:41 AM.

  2. #2
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default Re: where is my JavaDB/Derby?

    and i got this error when i tried to run some code snippets from the web

    java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    	at java.lang.Class.forName0(Native Method)
    	at java.lang.Class.forName(Class.java:169)
    	at textQuiz7Continents.util.JavaDBDemo.main(JavaDBDemo.java:25)
    java.sql.SQLException: No suitable driver found for jdbc:derby:myDatabase;create=true
    	at java.sql.DriverManager.getConnection(DriverManager.java:602)
    	at java.sql.DriverManager.getConnection(DriverManager.java:207)
    	at textQuiz7Continents.util.JavaDBDemo.main(JavaDBDemo.java:30)

  3. #3
    Junior Member
    Join Date
    Dec 2012
    Location
    Alwar, Rajasthan, India
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: where is my JavaDB/Derby?

    Hi chronoz13

    Do you got any solution? I have just started with java. I am also looking for solution. I am getting same error.

    Java 7, Netbeans 7.2, Windows7

  4. #4
    Java kindergarten chronoz13's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    659
    Thanks
    177
    Thanked 30 Times in 28 Posts

    Default Re: where is my JavaDB/Derby?

    Quote Originally Posted by deepaksinghkushwah View Post
    Hi chronoz13

    Do you got any solution? I have just started with java. I am also looking for solution. I am getting same error.

    Java 7, Netbeans 7.2, Windows7
    hi and hello deepaksinghkushwah, Im not sure if this is just a recent reply to this old post of mine, yes i manage to solve it, dont use/install the JDK bundled with netbeans, instead use the standard edition that only has the Java platform, those ones will prompt you with installation options, sorry i forgot to post how I manage to solved it..

Similar Threads

  1. Jar project to use Derby Database
    By Ma_2 in forum JDBC & Databases
    Replies: 1
    Last Post: July 17th, 2012, 12:03 PM
  2. help java Db derby or my sql
    By Am3Egy in forum JDBC & Databases
    Replies: 3
    Last Post: August 10th, 2011, 01:05 PM
  3. Help with JavaDB embedded
    By jstn455 in forum JDBC & Databases
    Replies: 2
    Last Post: March 17th, 2011, 04:27 PM
  4. Java (Derby) Help
    By Neon612 in forum JDBC & Databases
    Replies: 3
    Last Post: August 19th, 2010, 09:40 PM
  5. JavaDB characterstics
    By jacinto in forum JDBC & Databases
    Replies: 4
    Last Post: August 5th, 2009, 03:11 PM