Re: Startup problem with 1.12
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <00e401c42318$9a631af0$764000b4@kardis> |
One difference between 1.0x and 1.1x is the way static initializer's are
handled, which can get executed before you application even starts up. Try
putting some lines like this in your class files.
public class BlaBlaBla
{
static {System.out.println("Blablabla's static intitializer");}
....
}
If the problem is static initializers, this will help narrow it down. Does
your app include any native libraries? Also, make sure that there aren't
any extra 'public static void main' functions in other classes in your app
that might be getting executed.
Kris
----- Original Message -----
From: "Ron" <[email protected]>
To: <tini-6tN4nzCoH/[email protected]>
Sent: Wednesday, April 14, 2004 10:40 AM
Subject: [TINI]Startup problem with 1.12
> I have a 390 that I loaded with TINIOS1.12. The load went normally and
works
> ok.
>
> I compiled my Java app that has been running with TINIOS 1.02f for months.
I
> am compiling with JDK 1.4 using the -target 1.1 and building the app with
> the BuildDependency in 1.12. The build runs without errors.
>
> After ftping it to the tini I start it from a telnet session. After about
2
> seconds I get back the prompt; no error messages, not even the println I
> have as my first line of code, nothing.
>
> I made a Hello World program and it works fine, so the JVM on the tini
seems
> to be intact.
>
> Any idea of what may be happening?
>
> _______________________________________________
> 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