[Gumstix-users] lingering jamvm classpath issues

So I have seen a couple threads that seem to reflect my problem, but
I was not able to get a sense of how the problem was resolved ...
Steps leading up to my problem :
1. Checked out the latest buildroot.
2. added jamvm and classpath to the target in the Makefile
3. Built the whole thing using make.
4. Logged onto my gumstix with kermit and rewrote the freshly build
root_fs_arm_nofpu
5. rebooted and logged into the fresh gumstix
6. transferred compiled bytecode version of
--
public class test {
public static void main(String[] args) {
System.out.println("Hello small world.");
}
}
--
7. got the following error:
--
# jamvm test
Exception occured while VM initializing.
java/lang/NoClassDefFoundError: java/lang/Thread
--
Now I have double checked to make sure my classpath is in tact.
There are libs in /usr/lib/classpath, a jni header in /usr/include,
classes.zip in /usr/share/jamvm and large glibj.zip in /usr/shared/
classpath.
Is there still some linking problem here? Is jamvm looking somewhere
else for glibj.zip?
Thanks for all of the help.
Christopher

Thread view

So I have seen a couple threads that seem to reflect my problem, but
I was not able to get a sense of how the problem was resolved ...
Steps leading up to my problem :
1. Checked out the latest buildroot.
2. added jamvm and classpath to the target in the Makefile
3. Built the whole thing using make.
4. Logged onto my gumstix with kermit and rewrote the freshly build
root_fs_arm_nofpu
5. rebooted and logged into the fresh gumstix
6. transferred compiled bytecode version of
--
public class test {
public static void main(String[] args) {
System.out.println("Hello small world.");
}
}
--
7. got the following error:
--
# jamvm test
Exception occured while VM initializing.
java/lang/NoClassDefFoundError: java/lang/Thread
--
Now I have double checked to make sure my classpath is in tact.
There are libs in /usr/lib/classpath, a jni header in /usr/include,
classes.zip in /usr/share/jamvm and large glibj.zip in /usr/shared/
classpath.
Is there still some linking problem here? Is jamvm looking somewhere
else for glibj.zip?
Thanks for all of the help.
Christopher

iirc I had to use the -Xbootclasspath flag or something like that to
specify where glibj.zip was
C
On Sep 15, 2005, at 7:38 PM, Christopher P. Baker wrote:
> So I have seen a couple threads that seem to reflect my problem,
> but I was not able to get a sense of how the problem was resolved ...
>
> Steps leading up to my problem :
>
> 1. Checked out the latest buildroot.
> 2. added jamvm and classpath to the target in the Makefile
> 3. Built the whole thing using make.
> 4. Logged onto my gumstix with kermit and rewrote the freshly
> build root_fs_arm_nofpu
> 5. rebooted and logged into the fresh gumstix
> 6. transferred compiled bytecode version of
> --
> public class test {
> public static void main(String[] args) {
> System.out.println("Hello small world.");
> }
> }
> --
> 7. got the following error:
> --
> # jamvm test
> Exception occured while VM initializing.
> java/lang/NoClassDefFoundError: java/lang/Thread
> --
>
> Now I have double checked to make sure my classpath is in tact.
> There are libs in /usr/lib/classpath, a jni header in /usr/include,
> classes.zip in /usr/share/jamvm and large glibj.zip in /usr/shared/
> classpath.
>
> Is there still some linking problem here? Is jamvm looking
> somewhere else for glibj.zip?
>
> Thanks for all of the help.
>
> Christopher
>
>
>
>
>

So I tried the command:
jamvm -Xbootclasspath/a:/usr/share/classpath/glibj.zip test
and it gave me the exact same output noted in the post:
From: izattd@...
Subject: [Gumstix-users] jamVM error in latest Subversion checkout
Date: August 30, 2005 5:57:40 PM CDT
I never saw a resolution to his query.
Any other ideas?
I tried adding the /usr/share/jamvm/classes.zip to the classpath in
various ways. This didn't seem to help.
Christopher
On Sep 15, 2005, at 11:08 PM, Craig Hughes wrote:
> iirc I had to use the -Xbootclasspath flag or something like that
> to specify where glibj.zip was
>
> C
>
> On Sep 15, 2005, at 7:38 PM, Christopher P. Baker wrote:
>
>
>> So I have seen a couple threads that seem to reflect my problem,
>> but I was not able to get a sense of how the problem was resolved ...
>>
>> Steps leading up to my problem :
>>
>> 1. Checked out the latest buildroot.
>> 2. added jamvm and classpath to the target in the Makefile
>> 3. Built the whole thing using make.
>> 4. Logged onto my gumstix with kermit and rewrote the freshly
>> build root_fs_arm_nofpu
>> 5. rebooted and logged into the fresh gumstix
>> 6. transferred compiled bytecode version of
>> --
>> public class test {
>> public static void main(String[] args) {
>> System.out.println("Hello small world.");
>> }
>> }
>> --
>> 7. got the following error:
>> --
>> # jamvm test
>> Exception occured while VM initializing.
>> java/lang/NoClassDefFoundError: java/lang/Thread
>> --
>>
>> Now I have double checked to make sure my classpath is in tact.
>> There are libs in /usr/lib/classpath, a jni header in /usr/
>> include, classes.zip in /usr/share/jamvm and large glibj.zip in /
>> usr/shared/classpath.
>>
>> Is there still some linking problem here? Is jamvm looking
>> somewhere else for glibj.zip?
>>
>> Thanks for all of the help.
>>
>> Christopher
>>
>>
>>
>>
>>
>>
>
>
>
> -------------------------------------------------------
> SF.Net email is sponsored by:
> Tame your development challenges with Apache's Geronimo App
> Server.Download it for free - -and be entered to win a 42" plasma
> tv or your very
> own Sony(tm)PSP. Click here to play: http://sourceforge.net/
> geronimo.php
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@...
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>

Community

Help

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

I agree to receive quotes, newsletters and other information from sourceforge.net and its partners regarding IT services and products. I understand that I can withdraw my consent at any time. Please refer to our Privacy Policy or Contact Us for more details