Jump to content
Excelsior Forums
Sign in to follow this  
Prathinesh

Problem in launching the EXE says Exception in thread "main" NoClassDefFoundErro

Recommended Posts

Hi 

Am using Excelsior 4.1 and am compiling the java code and making installers using this software,We basically end up generating two sets of installers, one is the server installer which installs all our application servers as windows services and we have client installers which we install on clients machines and launch the applications talking to the server services. We have been using this software for long time and been working in good shape. But recently there were few new systems added in our network and when we installed the installers, they get installed fine and the server services start fine, and even the clients get installed fine and we were able to launch the applications, but after running the application and after for few hours  we end up with an error dialog as below. This dialog appears when ever we click on the client.exe file .This is a weird behaviour ending us to think to see if it?s the installer problem or the environment problem on the new machine. The same installer works fine of the old machines which were running before.

On further investigating, we found that one of the dll is getting corrupted and once we copy that dll with the new one , its launching fine.

We build the installers on windows 32 bit XP operating system and we install them on the same machines too.

Any ideas on this would be very much helpful, as this is turning out to be a serious problem with our clients upgrading to new machines in their environments.

A quick advice or ideas of solution is greatly appreciated.

--Raju.v

Share this post


Link to post
Share on other sites

On further investigating, we found that one of the dll is getting corrupted and once we copy that dll with the new one , its launching fine.

The reason of misbehavior is obviously here. You need to investigate when it is corrupted and what corrupts it.

I could suggest you the following experiments:

1. First, check if it is  ok,  just after installing (compare it with the good one from already installed application on a good system).

2. Try to set read-only attribute to the DLL, repackage the application and perform experiments again on a problem system.

3. Run the latest antivirus programs on a problem system.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×