db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen More" <stephen.m...@gmail.com>
Subject Help getting started with j9 and derby
Date Thu, 04 Jan 2007 21:45:58 GMT
I am using j9 ( WebSphere Everyplace Micro Environment 6.1.1 - CDC
1.1/Foundation 1.1/Personal Profile 1.1 for linux
http://www-128.ibm.com/developerworks/websphere/zones/wireless/weme_eval_runtimes.html
)

I downloaded and compiled the JSR 169 package (
http://developers.sun.com/techtopics/mobility/apis/ )

I downloaded db-derby-10.2.2.0-bin

But where do I get java.sql.Driver from ?

$ ./derby.sh
SimpleApp starting in embedded mode.
exception thrown:
java.lang.NoClassDefFoundError: java.sql.Driver
        at java.lang.ClassLoader.defineClassImpl(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:226)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:109)
        at java.net.URLClassLoader.findClassImpl(URLClassLoader.java:1029)
        at java.net.URLClassLoader$4.run(URLClassLoader.java:549)
        at java.security.AccessController.doPrivileged(AccessController.java:213)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:547)
        at com.ibm.oti.vm.URLSystemClassLoader.findClass(URLSystemClassLoader.java:27)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:606)
        at com.ibm.oti.vm.URLSystemClassLoader.loadClass(URLSystemClassLoader.java:60)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:563)
        at java.lang.Class.forNameImpl(Native Method)
        at java.lang.Class.forName(Class.java:114)
        at SimpleApp.go(Unknown Source)
        at SimpleApp.main(Unknown Source)
SimpleApp finished


------------------ Java Information ------------------
Java Version:    J2ME Personal Profile Specification v1.1
Java Vendor:     IBM Corporation
Java home:       /home/mores/bin/j9-cdc-1.1-v6.1.1
Java classpath:  /home/mores/wip/db-derby-10.2.2.0-bin/lib/derby.jar
OS name:         Linux
OS architecture: x86
OS version:      2.6.9-42.0.3.ELsmp
Java user name:  mores
Java user home:  /home/mores
Java user dir:   /home/mores/test/java
java.specification.name: J2ME Personal Profile Specification
java.specification.version: 1.1
--------- Derby Information --------
JRE - JDBC: J2ME - JDBC for CDC/FP 1.0
[/home/mores/wip/db-derby-10.2.2.0-bin/lib/derby.jar] 10.2.2.0 - (485682)
------------------------------------------------------
----------------- Locale Information -----------------
Current Locale :  [English/United States [en_US]]
Found support for locale: [cs]
         version: 10.2.2.0 - (485682)
Found support for locale: [de_DE]
         version: 10.2.2.0 - (485682)
Found support for locale: [es]
         version: 10.2.2.0 - (485682)
Found support for locale: [fr]
         version: 10.2.2.0 - (485682)
Found support for locale: [hu]
         version: 10.2.2.0 - (485682)
Found support for locale: [it]
         version: 10.2.2.0 - (485682)
Found support for locale: [ja_JP]
         version: 10.2.2.0 - (485682)
Found support for locale: [ko_KR]
         version: 10.2.2.0 - (485682)
Found support for locale: [pl]
         version: 10.2.2.0 - (485682)
Found support for locale: [pt_BR]
         version: 10.2.2.0 - (485682)
Found support for locale: [ru]
         version: 10.2.2.0 - (485682)
Found support for locale: [zh_CN]
         version: 10.2.2.0 - (485682)
Found support for locale: [zh_TW]
         version: 10.2.2.0 - (485682)
------------------------------------------------------


-Thanks
Steve More

Mime
View raw message