Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with drivers for Java DB (Derby)



I downloaded JavaDB from SUN for LINUX and tried it with XCode and Java 1.5 for Mac OS X 10.4.7 on a PowerBook G4 but got the following (Below) that I am unable to cope with on the Mac. There seem to be a IBM driver that is lacking and no way to get that to work for the Mac. It was things like this that I was hoping Apple Computers to address in Java 1.6 now that Java DB is claimed by SUN to be a integral part of Java 2 SE version 6.

By the way I have seen a analogous problem with mySQL too. It seems like it is easier to connect a camera to a mac than to get a relational database to work from Java. The difference is probably that Apple is doing a job with USB-drivers. Apple do not seem to do the same job with JDBC drivers. I hope that will change or that database implementers at least make drivers available, for the Mac. If the jdbc drivers are not easily available the point of the rest of the database seem to be of academic value only.

Since the other vendors for Java DB (IBM, SUN, Apache) do not address Mac OS X in particular there seem to be at least implicit hints that the jdbc-drivers for Java DB is Apples responsibility.


Can anybody help me out while we are waiting?

Kolbjørn

[Session started at 2006-09-25 11:47:28 +0200.]
SimpleApp starting in embedded mode.
exception thrown:
java.lang.ClassNotFoundException: org.apache.derby.jdbc.EmbeddedDriver
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at SimpleApp.go(SimpleApp.java:77)
at SimpleApp.main(SimpleApp.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
at apple.launcher.JavaApplicationLauncher.launch (JavaApplicationLauncher.java:52)
SimpleApp finished


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.