The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
[Originally posted by tdearden]


I have a test stand alone application to access Domino via DIIOP, the
application works fine when run from the IDE - Eclipse in which it was coded,
however when I try and run via a dos prompt java -jar myapp.jar I get the
following error:

Exception in thread main: jave.lang.noclassdeffounderror:

What I want to do is redistribute the application as an executable jar file,
my questions are two fold:

1. When the .java code is compiled to .class is the code from jar NCSO.jar
taken from that jar file or will the application still need NCSO.jar to be
distributed and referenced every time the App runs?

2.) Any ideas how to resolve the problem above?

Any help would be much appreciated.