Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Exception in thread' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Exception in thread
Authored by: mergy on May 01, '01 12:34:23AM

Make sure jicasession is in the same folder (directory) that all the setup files and classes are in. If it isn't, then you will have such an error.



[ Reply to This | # ]
Exception in thread
Authored by: bonibak on May 01, '01 04:21:02PM

Today I started all over and did the whole installation as described in the first post.
Everything is in place and I even chose the same directory names as describred just to keep it simple. I can go through all installation steps with no error.
But when I try to run './jicasession' in the directory '/Applications/citrix' I get the error message 'Exception in thread "main" java.lang.NoClassDefFoundError: com/citrix/JICA'
Assistance still very appreciated!



[ Reply to This | # ]
Weird...very weird!
Authored by: robg on May 01, '01 06:46:23PM

My machine was running 10.0.1, with Dev Tools installed, when I did this. I'd also added PHP and mySQL and a few miscellaneous UNIX apps, but that's about it. I know I'd never touched the Java directory prior to Citrix. I have X and 9 on one partiiton, 9 (normal) on another. X was installed on a cleanly formatted partition.

What machine are you running, and how is X installed? Does the Java Applet Runner work, and can you run the demo apps?

-rob.



[ Reply to This | # ]
Dev Tools ?!
Authored by: bonibak on May 02, '01 02:43:48PM

I'm running a Titanium G4 with 256 Megs, OS x 10.0.1 installed on one partition, the classic environment on another, and both strictly seperated from good old 9 with all applications on it. Pretty clean I guess ... BUT, I have not installed the Dev Tools - Could this cause all the trouble ??
I am able to run the "JEdit 3.1" which I think is a Java application, right ? This would tell me that my Java environment is not corrupted -



[ Reply to This | # ]
No clue...
Authored by: robg on May 03, '01 01:25:42PM

Hmmm ... something is definitely odd. As an experiment, you could try creating a new user, and compiling in the new user's space, just to see what happens -- but that's total guesswork, as I really don't know what's going on with your setup. For me, the above instructions worked perfectly on two different machines...

Sorry!

-rob.



[ Reply to This | # ]
Wrong language
Authored by: bonibak on May 03, '01 01:49:08PM

I tried the same procedure on my Cube at the office today; same problem. Next things I'll try:
- new user as you recommended
- OS X installation in US English (not German)
I'll keep you posted ...
Thanks for your help anyway!



[ Reply to This | # ]
Maybe this is it...
Authored by: robg on May 04, '01 01:34:46AM

I managed to get your error tonight, when I tried a shell script that had the whole command on one line (/Applications/citrix/./jicasession etc). When I switched it to two commands, one to 'cd' and one to 'jicasession', it worked perfectly.

Not sure if that's what you were doing, but it only seems to want to run if you're actually IN the directory.



[ Reply to This | # ]
Sorry g-money...
Authored by: acyoda on May 04, '01 11:45:33AM

But I'm getting the same error running the North American release of OS X, and running"jicasession" from the Citrix directory. Other than that, my java is acting like a rabid crack baby with bottle of effidrin(sp?), that is as in: Not good. Maybe if I fprotted my tarball... ;P



[ Reply to This | # ]
Problem solved !
Authored by: bonibak on May 04, '01 04:12:09PM

Sometimes it's better to start again at the very beginning. I did so. I did a clean new installtion of a German Mac OS X with NO developer tools plus the updates 10.0.1 and 10.0.2. Then I did the citrix installation again, and SURPRISE: it works !!
Thanks for your assistance!



[ Reply to This | # ]