gkeytool error

2006-10-18 Thread Haoyang Lin
Hello,

I did : gkeytool
then:
 
errors:
 
 java.lang.NoClassDefFoundError: gnu/classpath/tools/keytool/Main
<>
 Caused by: java.lang.ClassNotFoundException:
 gnu.classpath.tools.keytool.Main not found in java.lang.ClassLoader

$1{urls=[file:/usr/local/classpath/share/classpath/glibj.zip,file:/usr/local/classpath/bin/./,file:/usr/local/classpath/share/classpath/tools.zip],
 parent=null}
at java.net.URLClassLoader.findClass(URLClassLoader.java:530)
at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

glibj.zip and tools.zip exist in /usr/local/classpath/share/classpath/ 
 What should I do? Please help.

thank you in advance
haoyang




Re: gkeytool error

2006-10-18 Thread Tom Tromey
> ">" == Haoyang Lin <[EMAIL PROTECTED]> writes:

>> I did : gkeytool

>> errors:
>>  java.lang.NoClassDefFoundError: gnu/classpath/tools/keytool/Main
>> <>

>> glibj.zip and tools.zip exist in /usr/local/classpath/share/classpath/ 
>>  What should I do? Please help.

First thing is, check tools.zip to see if that class is actually
contained in it.  Perhaps you have an out of date install or the like.

Tom



Re: gkeytool error

2006-10-19 Thread linh


- Original Message - 
From: "Tom Tromey" <[EMAIL PROTECTED]>

To: "Haoyang Lin" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, October 19, 2006 7:04 AM
Subject: Re: gkeytool error



">" == Haoyang Lin <[EMAIL PROTECTED]> writes:



I did : gkeytool



errors:
 java.lang.NoClassDefFoundError: gnu/classpath/tools/keytool/Main
<>


glibj.zip and tools.zip exist in /usr/local/classpath/share/classpath/ 
 What should I do? Please help.


First thing is, check tools.zip to see if that class is actually
contained in it.  Perhaps you have an out of date install or the like.

Tom



Hi,

I checked the tools.zip. It contains no gnu/classpath/tools/keytool/Main. 
There is Main.java in /classpath-0.92/tools/gnu/classpath/tools/keytool/. 
What should I change to make gkeytoll working well?


Thank you 


Haoyang



Re: gkeytool error

2006-10-19 Thread Tom Tromey
> ">" == Haoyang Lin <[EMAIL PROTECTED]> writes:

>> I checked the tools.zip. It contains no
>> gnu/classpath/tools/keytool/Main. There is Main.java in
>> /classpath-0.92/tools/gnu/classpath/tools/keytool/. What should I
>> change to make gkeytoll working well?

It is hard to say since we don't know much about how you built or
installed.  I would suggest starting at the beginning; make sure you
built Classpath in the way that your VM expects, make sure you ran
'make install', etc.

Tom



Re: gkeytool error

2006-10-19 Thread linh

Hi Tom,

I am sure that I have build the classpath-0.92 and "make install".

I did:
./configure --disable-plugin --with-jikes --with-vm=/usr/local/bin/jamvm
make
make install
everything seems well.

Have you any suggestions?

thank you in advance.
Haoyang


- Original Message - 
From: "linh" <[EMAIL PROTECTED]>

To: "linh" <[EMAIL PROTECTED]>
Sent: Thursday, October 19, 2006 5:59 PM
Subject: Fw: gkeytool error




- Original Message - 
From: "Tom Tromey" <[EMAIL PROTECTED]>

To: "linh" <[EMAIL PROTECTED]>
Cc: 
Sent: Thursday, October 19, 2006 5:39 PM
Subject: Re: gkeytool error



">" == Haoyang Lin <[EMAIL PROTECTED]> writes:



I checked the tools.zip. It contains no
gnu/classpath/tools/keytool/Main. There is Main.java in
/classpath-0.92/tools/gnu/classpath/tools/keytool/. What should I
change to make gkeytoll working well?


It is hard to say since we don't know much about how you built or
installed.  I would suggest starting at the beginning; make sure you
built Classpath in the way that your VM expects, make sure you ran
'make install', etc.

Tom







Re: gkeytool error

2006-10-19 Thread Mario Torre
Il giorno gio, 19/10/2006 alle 18.04 +0200, linh ha scritto:
> Hi Tom,
> 
> I am sure that I have build the classpath-0.92 and "make install".
> 
> I did:
> ./configure --disable-plugin --with-jikes --with-vm=/usr/local/bin/jamvm
>  make
> make install
> everything seems well.
> 
> Have you any suggestions?
> 
> thank you in advance.
> Haoyang

After the compilation, try this trick: go to the top level classpath
directory and fire ./tools/gkeytool

Es.:

cd /home/neugens/work_space/Eclipse/classpath
./tools/gkeytool

This way we know if is a problem in the compilation step or in the
installation step.

Mario

-- 
Lima Software, SO.PR.IND. s.r.l.
http://www.limasoftware.net/
pgp key: http://subkeys.pgp.net/

Proud GNU Classpath developer: http://www.classpath.org/
Read About us at: http://planet.classpath.org

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente


Re: gkeytool error

2006-10-20 Thread Haoyang Lin
Hi

I did the same as you said. but the errors are still the same as before

errors:
 
 java.lang.NoClassDefFoundError: gnu/classpath/tools/keytool/Main
<>
 Caused by: java.lang.ClassNotFoundException:
 gnu.classpath.tools.keytool.Main not found in java.lang.ClassLoader

$1{urls=[file:/usr/local/classpath/share/classpath/glibj.zip,file:/usr/local/classpath/bin/./,file:/usr/local/classpath/share/classpath/tools.zip],
 parent=null}
at java.net.URLClassLoader.findClass(URLClassLoader.java:530)
at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

please help

haoyang

Am Donnerstag, den 19.10.2006, 21:35 +0200 schrieb Mario Torre:
> Il giorno gio, 19/10/2006 alle 18.04 +0200, linh ha scritto:
> > Hi Tom,
> > 
> > I am sure that I have build the classpath-0.92 and "make install".
> > 
> > I did:
> > ./configure --disable-plugin --with-jikes --with-vm=/usr/local/bin/jamvm
> >  make
> > make install
> > everything seems well.
> > 
> > Have you any suggestions?
> > 
> > thank you in advance.
> > Haoyang
> 
> After the compilation, try this trick: go to the top level classpath
> directory and fire ./tools/gkeytool
> 
> Es.:
> 
> cd /home/neugens/work_space/Eclipse/classpath
> ./tools/gkeytool
> 
> This way we know if is a problem in the compilation step or in the
> installation step.
> 
> Mario
> 




Re: gkeytool error

2006-10-20 Thread Raif S. Naffah
On Friday 20 October 2006 19:35, Haoyang Lin wrote:
> ...
> I did the same as you said. but the errors are still the same as before
>
> errors:
>
>  java.lang.NoClassDefFoundError: gnu/classpath/tools/keytool/Main
> <>
>  Caused by: java.lang.ClassNotFoundException:
>  gnu.classpath.tools.keytool.Main not found in java.lang.ClassLoader
>
> $1{urls=[file:/usr/local/classpath/share/classpath/glibj.zip,file:/usr/loca
>l/classpath/bin/./,file:/usr/local/classpath/share/classpath/tools.zip],
> parent=null} at java.net.URLClassLoader.findClass(URLClassLoader.java:530)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:342)
> at java.lang.ClassLoader$1.loadClass(ClassLoader.java:1112)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:294)

gkeytool (in the directory Mario indicated) should be a script.  what does the 
last line in that file look like?


cheers;
rsn


pgpLid6QnLyZa.pgp
Description: PGP signature


Re: gkeytool error

2006-10-20 Thread Mario Torre
Il giorno ven, 20/10/2006 alle 11.35 +0200, Haoyang Lin ha scritto:
> Hi
> 
> I did the same as you said. but the errors are still the same as before

Hi!

Works for me :)

compiled with ./configure --disable-plugin --with-jikes
--with-vm=/home/neugens/work_space/Eclipse/classpath/install/bin/jamvm

Interesting...

I know it is a stupid question, this is the only program that fails? I
mean, have you tried to run

$ jamvm --version

it works?

and the output of

$ which jamvm

Like Raif said, it would be nice to have the last lines of gkeytool.

Ciao,
Mario
-- 
Lima Software, SO.PR.IND. s.r.l.
http://www.limasoftware.net/
pgp key: http://subkeys.pgp.net/

Proud GNU Classpath developer: http://www.classpath.org/
Read About us at: http://planet.classpath.org

Please, support open standards:
http://opendocumentfellowship.org/petition/
http://www.nosoftwarepatents.com/


signature.asc
Description: Questa è una parte del messaggio	firmata digitalmente


Re: gkeytool error

2006-10-24 Thread Haoyang Lin
Hi, 

now only gkeytool fails. I have used the classes of glib.zip. These
Classes are working well.


I did : jamvm -version

java version "1.4.2"
JamVM version 1.4.3
Copyright (C) 2003-2006 Robert Lougher <[EMAIL PROTECTED]>

I did : which jamvm

/usr/local/bin/jamvm

the last lines of
gkeytool(/classpaht-0.92/gnu/classpath/tools/keytool/gkeytool
and /usr/local/classpath/bin):

prefix=/usr/local/classpath
tools_dir=${prefix}/share/classpath
tools_cp=${tools_dir}/tools.zip

exec /usr/local/bin/jamvm -Xbootclasspath/p:"${tools_cp}"
gnu.classpath.tools.keytool.Main "$@"

regards
haoyang
Am Freitag, den 20.10.2006, 14:39 +0200 schrieb Mario Torre:
> Il giorno ven, 20/10/2006 alle 11.35 +0200, Haoyang Lin ha scritto:
> > Hi
> > 
> > I did the same as you said. but the errors are still the same as before
> 
> Hi!
> 
> Works for me :)
> 
> compiled with ./configure --disable-plugin --with-jikes
> --with-vm=/home/neugens/work_space/Eclipse/classpath/install/bin/jamvm
> 
> Interesting...
> 
> I know it is a stupid question, this is the only program that fails? I
> mean, have you tried to run
> 
> $ jamvm --version
> 
> it works?
> 
> and the output of
> 
> $ which jamvm
> 
> Like Raif said, it would be nice to have the last lines of gkeytool.
> 
> Ciao,
> Mario