ts-7000
[Top] [All Lists]

[ts-7000] Re: JAMVM && Jetty

To:
Subject: [ts-7000] Re: JAMVM && Jetty
From: "doka" <>
Date: Sat, 01 Oct 2011 16:13:06 -0000

I am using classpath 0.98 with jamvm 1.5.4.
It was compiled on Gentoo machine, using SBOX2
Configure line for classpath:
ac_cv_prog_java_works=yes ac_cv_prog_JAVA=/usr/bin/cacao ECJ=$JAVAC ./configure 
--prefix=$T_ROOT/usr --enable-jni --enable-core-jni 
--enable-default-preferences-peer=file --disable-gconf-peer 
--disable-default-toolkit  --disable-alsa --disable-dssi --disable-gjdoc 
--disable-gtk-peer --disable-plugin --enable-load-library --disable-examples 
--enable-local-sockets  --disable-rpath --disable-portable-native-sync 
--with-gnu-ld

ac_cv variables are set to stop configure to search for working jdk, which 
makes problems when cross compiling.
T_ROOT is where on the target classpath is going to live. I use
export T_ROOT="/"
instead of usual /usr

jamvm is configured with
./configure --prefix=$T_ROOT/usr  --with-classpath-install-dir=/usr 
--disable-shared
This does not create libjvm.so, but you don't need one anyway. 


--- In  "akikem" <> wrote:
>
> 
> 
> I will try with strace.
> In the other hand, which version of jamvm and classpath do you try?
> I'm trying to compile by myself classpath and jamvm. Actually I could compile 
> jamvm latest version, however, I haven't been able to compile classpath 0.98.
> 
> Thanks!
> 
> Enrique
> 
> --- In  "doka" <nebojsa@> wrote:
> >
> > 
> > 
> > --- In  "akikem" <akikem@> wrote:
> > >
> > > 
> > > I have been trying to run jetty on a TS-7200 with a 2.6.29 kernel. I need 
> > > jetty because of a web-based software I need to run.
> > > 
> > > I'm using debian sarge, as the one that you can find on the FTP from TS. 
> > > However, I can't make it work. I read some older posts, where they state 
> > > that it's possible. I tried with CVM, JAMVM, GCJ, etc...
> > > 
> > > The best approach I get was with jamvm 1.5.0 and jetty-6.1.22 where I 
> > > tried the following:
> > > 
> > > :jetty-6.1.22# jamvm 
> > > -Xbootclasspath:/usr/share/classpath/glibj.zip:/usr/local/jamvm/share/jamvm/classes.zip
> > >  -jar start.jar
> > > 
> > > and I get:
> > > 
> > > Fatal error: Bad java.lang.VMClassLoader (missing or corrupt)
> > > 
> > > I'm not too much into java... and the only thing I need is to run jetty 
> > > so I can run the webapp and continue with the developing.. so maybe it's 
> > > a beginners mistake and it's about classpath? I can't compile gnu 
> > > classpath 0.98, however, I apt-get the classpath from the debian sarge 
> > > repository.
> > > 
> > > Any help (any documentation about running jetty on ts-7200) will be 
> > > greatly appreciated!
> > > 
> > > Regards,
> > > 
> > > Enrique
> > >
> > Try using strace to find out where is javmvm looking for classpath stuff.
> > I am using the same combination for a last few years, but I compiled both 
> > peaces myself.
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU