RE: problems starting JavaKit
"Cameron Roe" <camroe-NP2g6PpLnQ18UrSeD/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
I usually use a batch file that I can change to point to a different JDK or a different tini version depending on what I am working on. The batch file looks like this set jdkpath=%JAVA_HOME% set tinihome=E:\software\tini\tini1.11\bin %jdkpath%\bin\java -cp e:\common\lib\comm.jar;%tinihome%\tini.jar JavaKit In this case the JDK is just the default as pointed to by Java_Home. By the way, I find it helpful if I NEVER set my CLASSPATH environment variable. That way I know exactly what I am calling and what is required to do it. Just my 2 cents. Cheers -----Original Message----- From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of Kris Ardis Sent: March 1, 2004 9:31 AM To: [email protected]; [email protected] Subject: Re: [TINI]problems starting JavaKit You definitely don't ever want to include 'tiniclasses.jar' in your classpath...this file contains the actual classes that run on TINI, and will cause problems if they try to run anywhere else. > e:\progra~1\j2sdk_nb\j2sdk142\bin\java -classpath e:\tinihme\tini112\tini.jar JavaKit Should that classpath not be "e:\tinihme\tini1.12\bin\tini.jar"? Kris ----- Original Message ----- From: "doal" <[email protected]> To: <TINI-6tN4nzCoH/[email protected]> Sent: Sunday, February 29, 2004 2:36 PM Subject: [TINI]problems starting JavaKit > I know this is a common problem, and I've looked at all the FAQs I could and > tried all the angles I could from this end and I have to admit I'm stuck. > > This is VERY frustrating, and I KNOW I'm not alone in my struggle to figure > this out. > Trying to get JavaKit started and haveing NO success. Read all the FAQs > followed all the instructions for where to copy files and always get the > same error. The three files in question have been copied to the directories > as instructed. This is such a common question I cant believe there isnt a > better description of common mistakes... > e:\progra~1\j2sdk_nb\j2sdk142\bin\java -classpath > e:\tinihme\tini112\tini.jar;e:\tinihme\tini112\tiniclasses.jar JavaKit > this is the dos-ified version I've tried for this running in a command shell > in w2k > I've tried the cmd shell with no differance. > I always get the error > "Exception in thread "main" java.lang.NoClassDefFoundError: JavaKit" > nothing I do fixes this...and its imbarasing how long I've tried to figure > this out! > Please help what am I missing? > > > Henry Kroker > > > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini