Re: [gentoo-user] Java error

2003-05-29 Thread Andrew Kirilenko
Hello! On 14:37 Wed 28 May, Jose Gonzalez Gomez wrote: From the java.security.MessageDigest javadoc: MessageDigest md = MessageDigest.getInstance(SHA); try { md.update(toChapter1); MessageDigest tc1 = md.clone(); byte[] toChapter1Digest = tc1.digest();

Re: [gentoo-user] Java error

2003-05-29 Thread Erik S. Johansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 28 May 2003 16:31, Andrew Kirilenko wrote: Ha ha. I requested not byte array, but STRING! Try to convert this array to string and you will see that this is not so easy :) If you're unable to create a hex string representation of a

Re: [gentoo-user] Java error

2003-05-29 Thread Andrew Kirilenko
Hello! On 16:35 Wed 28 May, Erik S. Johansen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 28 May 2003 16:31, Andrew Kirilenko wrote: Ha ha. I requested not byte array, but STRING! Try to convert this array to string and you will see that this is not so easy :)

Re: [gentoo-user] Java error

2003-05-29 Thread Jose Gonzalez Gomez
Andrew, byte[] yourDigest = ...; String yourDigestAsString = new String( yourDigest ); Anyway, discussing about the power of a language based on this question is a nonsense and really off track. Regards Jose Andrew Kirilenko wrote: Hello! On 14:37 Wed 28 May, Jose Gonzalez Gomez

Re: [gentoo-user] Java error

2003-05-29 Thread Andrew Kirilenko
Hello! On 15:48 Wed 28 May, Jose Gonzalez Gomez wrote: Andrew, byte[] yourDigest = ...; String yourDigestAsString = new String( yourDigest ); Anyway, discussing about the power of a language based on this question is a nonsense and really off track. Regards Jose

Re: [gentoo-user] Java error

2003-05-29 Thread nmeyers
On Wed, May 28, 2003 at 04:57:06PM +0300, Andrew Kirilenko wrote: Hello! On 15:48 Wed 28 May, Jose Gonzalez Gomez wrote: Andrew, byte[] yourDigest = ...; String yourDigestAsString = new String( yourDigest ); Anyway, discussing about the power of a language based

Re: [gentoo-user] Java error

2003-05-29 Thread Norberto BENSA
[EMAIL PROTECTED] ~ $ date ; echo ${bryce verdier} Wednesday 28 May 2003 07:05 am I'm new to the whole java language. Anyway, i'm using kdevelop as my ide, and i have this simple java code: There was a thread a few days back, please read it. HINT: pet hate. I hope you enjoy the reading ;-)

Re: [gentoo-user] Java error-SOLVED

2003-05-29 Thread bryce verdier
Thank you Ragu, that solved my problem. Sorry for almost starting a flame war based on language preferences. It was not my intent. But thanks for the reading material! ;) And to Norberto Bensa: Thank you very much for telling me to read up on Pet Hate. Appreciate the advice. However, i felt

RE: [gentoo-user] Java error

2003-05-28 Thread Gwendolyn van der Linden
I'm new to the whole java language. Anyway, i'm using kdevelop as my ide, and i have this simple java code: class Main{ public static void main( String[] args ){ System.out.println( Hello, world! ); } } and when i try to compile it i get this error: Exception in

Re: [gentoo-user] Java error

2003-05-28 Thread Andrew Kirilenko
Hello! On 03:05 Wed 28 May, bryce verdier wrote: I'm new to the whole java language. Anyway, i'm using kdevelop as my ide, and i have this simple java code: class Main{ public static void main( String[] args ){ System.out.println( Hello, world! ); } } and when i

Re: [gentoo-user] Java error

2003-05-28 Thread Ragu
Bryce, This error occurs, when the classpath is not set properly. You have to set the classpath before running/compiling your java files. export CLASSPATH=$CLASSPATH:current-dir Hope this helps you out. Cheers Ragu - Original Message -

Re: [gentoo-user] Java error

2003-05-28 Thread Erik S. Johansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 28 May 2003 13:17, Andrew Kirilenko wrote: Purchace good java book, or better purchace good C++ book - java isn't good language at all. That's bait if I've ever seen it ;) java *was* a bad language... in it's current state it runs at

Re: [gentoo-user] Java error

2003-05-28 Thread Andrew Kirilenko
Hello! On 13:51 Wed 28 May, Erik S. Johansen wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 28 May 2003 13:17, Andrew Kirilenko wrote: Purchace good java book, or better purchace good C++ book - java isn't good language at all. That's bait if I've ever seen it ;)

Re: [gentoo-user] Java error

2003-05-28 Thread Erik S. Johansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 28 May 2003 14:01, Andrew Kirilenko wrote: Can you please paste java code here, which will calc md5 sum? I'd like to get 5d41402abc4b2a76b9719d911017c592 from hello. I could mock something up, but it's besides the point actually. Any

RE: [gentoo-user] Java error

2003-05-28 Thread Gwendolyn van der Linden
BTW, why are you using outlook express? Don't tell me, you are running it under wine :) I'm running regular Outlook on w2k. Company policy... But, to my defence, I run fetchmail/pine at home. Gwendolyn. -- [EMAIL PROTECTED] mailing list