|
From: Jorgen B. <sol...@xs...> - 2005-12-03 15:29:54
|
Stephan, After some time behind Linux I finally figured it out! the superversion.sh as it is in the zip file has BAD linebreaks. Making it impossible to run it under linux. When doing; sh superversion.sh The export won't work and I assume the complete env is gone. This will cause the classpath not being found, whatever you try. When doing; chmod +x superversion.sh ./superversion.sh jorg@burgess:~/tmp/superv/superversion> ./superversion.sh : bad interpreter: No such file or directory The reason is the linebreaks. If it is possible, I would advice writing the superversion.sh file in linux encoding in the zipfile. I will probably not be the first to run into this, but this will ofcourse re-occur every new release. I am glad I can use SuperVersion again. It was unbelievable that your java application was the only one not running while Eclipse etc ran perfectly. With regards, - Jorgen Jorgen Bodde wrote: > It must be something I am doing VERY wrong. > > I am simply not succeeding in running Superversion under linux. I had > this same problem once before and I could suffice by changing the PATH > variable to make Superversion run, but that does not work either anymore. > > This is what I did; > > - Download superversion > - Put it in a ~/bin/superversion dir > - sh superversion.sh > > En whatever I try, it cannot find the classes; > > jorg@burgess:~/bin/superversion> sh superversion.sh > Exception in thread "main" java.lang.NoClassDefFoundError: > drjava/superversion/gui/Main > > And this is the script: > > #!/bin/sh > cd ~/bin/superversion > export > CLASSPATH=log4j.jar:smyle.jar:superversion.jar:toniclf.jar:fontchooser.jar:buttonbar.jar > > java -cp $CLASSPATH -mx256m drjava.superversion.gui.Main > > I tried webstart once, and it seems to fire superversion. The second > time this failed as well. > > Can someone help me ? I am getting desperate with this java problem ... > - Jorgen > > > ------------------------------------------------------- > This SF.Net email is sponsored by the JBoss Inc. Get Certified Today > Register for a JBoss Training Course. Free Certification Exam > for All Training Attendees Through End of 2005. For more info visit: > http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click > _______________________________________________ > superversion-discussion mailing list > sup...@li... > https://lists.sourceforge.net/lists/listinfo/superversion-discussion > > |