Hi CEHJ,
That was a quick response :)
Please can you tell me what the ResourceHelper is doing?
If I copy that also (from the other .properties), the following errors remain.
Main Topics
Browse All TopicsHi Experts,
I'm a Java illiterate and I have to make a change in a java program to fill a table via SQL.
I copied an existing program and replaced the SQL statment.
I was able to compile it, but now I get some (unintelligible) error's.
Please can someone explain what it means and how to solve.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Your current error is due to the reason i mentioned at http:#25702352
Check your classpath:
http://technojeeves.com/jo
Hi All,
amitmishrakhj:
The program is running an an iSeries (FKA AS/400) so I don't have a c:\
but I did 'CD /path' and also "RUNJVA CLASS('edof4111/Edof4111')
Rinil:
I'm really don't know where it goes wrong, in the resourceHelper or in the program,
Yes I'm a programmer but from Java the only thing I know is how to spell it.
This Java program should only be a tiny part of a large process (but take loads of time :( )
CEHJ:
I copy and paste the little program on the link you posted, and try to compile with the following error
Hi All,
Maybe I did something stupid (other then working on a thing that I don't know) but untill now I did the follwoing:
Edit the ResourceHelper.java
Edit the program Edof4111.java
Set the Properties for the ResourceHelper.
Then compiled the program :
cd /edo/java
javac -classpath .:jt400.jar:ojdbc14.jar:co
javac -classpath .:jt400.jar:ojdbc14.jar:co
That shoud do it.
Then run:
cd /edo/java
java edof4111/Edof4111
now still get the errors:
java.lang.ClassNotFoundExc
at java.lang.Exception.<init>(E
at java.lang.ClassNotFoundExc
at java.net.URLClassLoader.fi
at java.lang.ClassLoader.load
at sun.misc.Launcher$AppClass
at java.lang.ClassLoader.load
at java.lang.ClassLoader.load
at java.lang.Class.forName(Cl
at edof4111.Edof4111.main(Edo
I surender for the weekend.....
Thanks for sofar
Murph
:-)
>>This works, but isn't there a way that I don't have type ina all .jar files and also don't need to copie all jar files in my class?
You don't need to copy any jars - simply use the correct path to them. When the command line goes beyond the simple, i usually find it simpler to use a script to compile and run
Business Accounts
Answer for Membership
by: CEHJPosted on 2009-10-30 at 05:15:12ID: 25702138
Your ResourceHelper class is not finding its resources. Make sue they're in its classpath