Re: Getting tini programs to run

"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <006701c3e5b1$69dfc2b0$764000b4@kardis>
> using the Microsoft java 1.1 VM in c:\windows\system32

David
It looks like you're running the java executable in the windows directory,
which won't find things that are typically installed in the JDK
subdirectories.  This is how I usually get people going with JavaKit...

[JDK] = Your Java install directory, for instance "c:\jdk1.3.1"

1) Copy win32com.dll to [JDK]\bin
2) Copy javax.comm.properties to [JDK]\jre\lib
3) Copy comm.jar to [JDK]\jre\lib\ext
4) Delete c:\windows\[SYSDIR]\java.exe OR run 'java' with the full command
line...i.e. "c:\jdk1.3.1\bin\java JavaKit"

Kris

----- Original Message -----
From: <[email protected]>
To: <Aleksandar_Matijaca-SARqVTsK3/5Wk0Htik3J/[email protected]>; <[email protected]>;
<tini-6tN4nzCoH/[email protected]>; <[email protected]>
Sent: Wednesday, January 28, 2004 3:58 AM
Subject: Re: [TINI]Getting tini programs to run


> Thanks for the info.
>
> smartj is an open source program, (smart java launcher,
> www.revusky.com/hacks) that can be used instead of javac.  It gives error
> messages etc.  I did have success with that in the past.
>
> I put the comm.jar and javax.comm.properties where the documents suggest.
> However this seems far more difficult than it should be.
>
> This is what I type in:
> >smartj -classpath c:\appserver\jdk\lib\comm.jar JavaKit
> (From my tini bin directory)
>
> I get this output:
> Launching class JavaKit
> using the Microsoft java 1.1 VM in c:\windows\system32
> with classpath:
>
c:\Appserver\jdk\lib\comm.jar;c:\tini\tini1.12\bin;c:\tini\tini1.12\bin\tin
>
iclasses.jar;c:\tini\tini1.12\bin\tini.jar;c:\tini\tini1.12\bin\owapi_depen
> dencies_TINI.jar;c:\tini\tini1.12\bin\modules.jar
>
> Class JavaKit in file JavaKit.class cannot be loaded.  Probably a
> superclass or interface cannot be found.
>
> This is a very frustrating error.  The target 1.1 at this point doesn't
> really affect things.
>
> Comments would be very helpful.
>
> Thanks
> David
>
> >
> >The jre\bin location is used for the "runtime" java environment on your
> own
> >pc.  the jdk\bin is where your compile tools are.  You should be using
> >javac for compilation.  Don't forget a couple of things - if you are
using
> >1.4.2 to compile your code with, you MUST use -taget 1.1 as a command
line
> >parameter to javac.  This will allow the TINIConvertor to properly
process
> >your generated .class files to produce .tini files.
> >
> >As a side note to everyone - is there a FAQ or a set of guidelines on how
> >to develop for the TINI in an environment that would combine for example
> >a couple of jar files?  I am slowly managing to develop for larger
> >environments through trial-end-error.  For example, a "cook-book" set of
> >examples
> >for figuring out dependencies to combine automatically .class files as
> >needed from a number of different .jar files to combine a final .tini
> >file....
> >
> >Regards, Alex.
> >
> >
> >
> >
>
> >                      [email protected]
>
> >                      com.au                   To:      tini-6tN4nzCoH/[email protected]
>
> >                      Sent by:                 cc:
>
> >                      [email protected]         Subject: [TINI]Getting
tini
> programs to run
> >                      mi.com
>
> >
>
> >
>
> >                      01/26/2004 12:49
>
> >                      AM
>
> >                      Please respond
>
> >                      to david
>
> >
>
> >
>
> >
> >
> >
> >Hi,
> >
> >I'm using XP and downloaded JDK1.4.2 which puts the JDK in A Sun
directory
> >along with JRE.  It's not very clear why we have javaw in a jdk\bin dir
> and
> >also jdk\jre\bin location.
> >
> >I've tried using the smartj commands which gives me an error saying a
> >superclass cannot be found.  I've followed all the documents on the tini
> >web site or www.smartsc.com and none of those suggestions work for
> >classpath or getting JavaKit to execute.
> >
> >David
> >_______________________________________________
> >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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.