java1.4

StackOverFlowError while creating Mac object on AS400/Java

Hello all, I am a newbie to AS400-Java programming. I am trying to create my first program to test the implementation of Message Authentication Code (MAC). I am trying to use the HMACSHA1 hash function. My (Java 1.4) program runs fine on a dev box (V5R4).But fails terribly on the QA box (V5R3). My program is as below: =================...

Cryptography - RSA Algorithm in Java 1.4

Hi folks! I am using Java 1.4.2_10 and I am trying to use RSA encryption: I am getting the NoSuchAlgorithmException for the following code: cipher = Cipher.getInstance("RSA"); This is the error: java.security.NoSuchAlgorithmException: Cannot find any provider supporting RSA at javax.crypto.Cipher.getInstance(DashoA6275) T...

3rd Party Library throws NoClassDefFoundError without giving a class name

I'm trying to integrate a 3rd party library into an existing application; it compiles and builds with no problems, but during execution gives a java.lang.NoClassDefFoundError. The problem is that the error comes out of the library to which I don't have the source, and the error doesn't tell me what class couldn't be found. Is it possib...

Java 1.4.2 - Single http proxy connection

I need to create a single http proxy connection and i don't want to use java common environment variables such as http.proxyHost and http.proxyPort (should i care about modifying them?). There is an ibm jre, so i can't use sun.net.www.protocol.http.HttpURLConnection out of the box. Is it a normal practice to store http.proxy* variables...

Which version of apache http client is compatible with java 1.4.2?

Somehow I can't find this info ...

how to play wav file in java 1.4

as title How can i play a sound file repeatedly in java v1.4? ...