I got jython 2-1
The problem was that no java was there on my machine
There was an gij implementation of java interpreter
Important fact /usr/bin/java was a symbolic link to /etc/alternatives/java which again was a symbolic link to /usr/lib/jvm/jre-1.4.2-gcj/bin/java which in fact is an GNU implementation of java and is not sun java
Rishi Pathak

On 6/14/06, rishi pathak <mailmaverick666@gmail.com> wrote:
Hi Raghuram,
Thanks for this much fast reply
I have copied the class file to /jython/class/jython-21.class
Hereis the exact output
I also then unzipped the class file but the installer template were not very clear
I hope you could help me

[root@tb3 class]# cd /jython/class/
[root@tb3 class]# ls
jython-20.class  jython_21.class
[root@tb3 class]# java jython_21 -o jython demo lib source
Exception in thread "main" java.lang.ClassFormatError: jython_21 (unused data before end of file)
   at _Jv_ClassReader.throw_class_format_error(byte) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ClassReader.parse() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_DefineClass(java.lang.Class, byte[], int, int) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.VMClassLoader.defineClass(java.lang.ClassLoader, java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.5.0.0)
   at java.security.SecureClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.CodeSource) (/usr/lib/libgcj.so.5.0.0)
   at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.VMClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
   at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
   at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
   at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
   at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
   at __gcj_personality_v0 (/jython/class/java.version=1.4.2)
   at __libc_start_main (/lib/tls/libc-2.3.4.so)
   at _Jv_RegisterClasses (/jython/class/java.version=1.4.2)
[root@tb3 class]#

On 6/13/06, Raghuram Devarakonda <raghu@syncsort.com > wrote:

Can you post the exact command line you used to install and the errors
you got? I typically use something like this to install jython 2.1
$ cd /usr/share
$ java jython-21 -o Jython-2.1 demo lib source

rishi pathak wrote:
> Hi all ,
> I have downloaded the jython2-1.CLASS file
> But When I run it using java jython2-1 it gives me some errors
> I then unzipped it using :
> unzip jython2-1.class
> The unzipped files seems like source
> Now I dont know what to do
> Can anyone please help me installing it
> I only remotely know java
> java version is 1.4.2
> Thanks
> Rishi Pathak
> ------------------------------------------------------------------------
> _______________________________________________
> Jython-users mailing list
> Jython-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jython-users