Subject | Re: Urgent!!!....FireBird/JayBird - running a jar file(JBuilder) in a client workstation |
---|---|
Author | Roman Rokytskyy |
Post date | 2004-12-02T16:33:28Z |
Hi Cristina,
only a jar file with your application, but also the classes from all jar
files you have added to your project.
of javaw.exe, it will open console and most likely it will write some error
messages there.
Roman
> I am working with FireBird database and JasperReports. I tried toSystem is missing some classes from JBuilder. It is not enough to include
> run my jar file with the following command line:
>
> c:\>java.exe -classpath EstadisticasTabacos.jar
> calculatallos.CalculaTallos
>
> but the system generates the following error message:
>
> "Exception ocurred during event dispatching:
>
> java.lang.NoClassDefFoundError: com/borland/dx/dataset/DataSet at
> calculatallos.FrameMenu.jMenuItem2_actionPerformed<FrameMenu.java:11
> 0>"
only a jar file with your application, but also the classes from all jar
files you have added to your project.
> Do you know, how do I have to run my jar file?...... I must create aThat's most likely the correct classpath.
> shortcut in the desktop, so the user can click on it to execute the
> client/server application.......
>
> Also I have tested the following line:
>
> c:\JBuilder9\jdk1.4\bin\javaw.exe -classpath
> "c:\BL\EstadisticasTabacos.jar;c:\Archivos de
> programa\Firebird\JayBird_1_5_3\firebirdsql-full.jar;c:\JBuilder9\li
> b\dx.jar;
> c:\JBuilder9\lib\dbswing.jar;c:\JasperReports\iReport-0.3.1\lib\jasp
> erreports-0.5.3.jar;" calculatallos.CalculaTallos
>
> With this line the menu runs,
> but when I click on an option, the jar doesn´t do nothing. I am using aIt can be that it missises some other classes. Try running java.exe instead
> Datamodule to include the conexion in all options of my application.
of javaw.exe, it will open console and most likely it will write some error
messages there.
Roman