On Thu, 2012-06-21 at 15:10 +0200, Isabelle DASTUGUE wrote: > My manifest : > > > > Manifest-Version: 1.0 > > Main-Class: Main > > Class-Path: SimulProg\lib\tinylaf.jar SimulProg\lib > \swing-layout-1.0.3.jar SimulProg\lib\swt.jar SimulProg\lib > \grouplayout.jar SimulProg\lib\resources.jar SimulProg\lib\rt.jar \ > > SimulProg\lib\RXTXcomm.jar SimulProg\lib > \gnu.io.rxtx_2.1.7.4_v20071016-7B57e7UAXMAAqGAGf.jar SimulProg\lib > \gnu.io.rxtx.sdk_2.1.7.4_v20071016-417C7DP1Bh_eEaQJBrHBHg.jar \ > > SimulProg\lib\derby.jar SimulProg\lib\derbyclient.jar SimulProg\lib > \derbynet.jar SimulProg\lib\derbytools.jar SimulProg\lib\derbyrun.jar > \ > Well by this then, my.jar should be in the parent directory of SimulProg and that parent should be in CLASSPATH (or in the -cp arg). Probably not what you wanted. But at least you know WHERE you need to get to. I'll have to leave it to you to figure out how to get there.
> SimulProg\lib\jsse.jar SimulProg\lib\jce.jar SimulProg\lib > \sunjce_provider.jar SimulProg\lib\sunmscapi.jar \ > > SimulProg\lib\charsets.jar SimulProg\lib\dnsns.jar SimulProg\lib > \localedata.jar SimulProg\lib\sunpkcs11.jar > > > > Cordially > > Isabelle DASTUGUE > > > > De : Marco Ferretti [mailto:[email protected]] > Envoyé : jeudi 21 juin 2012 14:58 > À : Derby Discussion > Objet : Re: Correct Derby software ? > > > > > You need to have the jars in the classpath : either define it with > startup params of your application, put them in the jdk/jre's default > classpath, in the classpath defined in the machine or in the manifest > file of your jar > (http://docs.oracle.com/javase/tutorial/deployment/jar/downman.html) > > On Thu, Jun 21, 2012 at 1:54 PM, Isabelle DASTUGUE > <[email protected]> wrote: > > Hello, > > I have a Derby database that works when I start it from Eclipse, but > when I try to run it from the. Jar of my application, it does not > work. > > Here are two successive errors: > java.sql.SQLException: Failed to start database 'C:\Test\Base' with > class loader sun.misc.Launcher$AppClassLoader@35ce36, see the next > exception for details. > then > Caused by: java.sql.SQLException: Startup failed due to missing > functionality for org.apache.derby.iapi.store.access.AccessFactory. > Please ensure your classpath includes the correct Derby software. > > I put the Derby access to my files in the classpath in environment > variables, but it's still not working. > > My four files: > - Derby.jar, > - Derbyclient.jar, > - Derbynet.jar, > - Derbytools.jar. > Are exactly the same and on the same PC ... > > Without the call to the base, my. Jar works. > With the base, I create the server, do I start Derby, I run the > instance butI cannot connect to thedatabase at the address returned is > obviously good ... > > Any idea? > > Cordially > > Isabelle DASTUGUE > > > > > > > > -- > > -- > > > "No Im sorrys, no apologies, no regrets..... " > >
signature.asc
Description: This is a digitally signed message part
