I haven't been following this thread very closely, and I tend to stay
away from RPG to Java calls anyway. No flames, please, that's just my view.
Anyhow, Java is not an ILE participant, so signing off and on is not
necessary for interactive *Java-only* calls. However, if I'm not mistaken,
I think you are using RPG JNI, and that portion probably does stay in
memory.
Recompilation of other files is not necessary *if* there have been no
changes to method signatures or new methods added that you want the other
objects to access. While "that part" of IFS may well not be case sensitive,
IMO you are better off always assuming case sensitivity for Java, QSH, IFS
operations to eliminate Yet Another possible error area.
Joe Sam
Joe Sam Shirah -
http://www.conceptgo.com
conceptGO - Consulting/Development/Outsourcing
Java Filter Forum:
http://www.ibm.com/developerworks/java/
Just the JDBC FAQs:
http://www.jguru.com/faq/JDBC
Going International?
http://www.jguru.com/faq/I18N
Que Java400?
http://www.jguru.com/faq/Java400
----- Original Message -----
From: "Luis Colorado" <LuisC@xxxxxxxxxxxxxxxx>
To: "Java Programming on and around the iSeries / AS400"
<java400-l@xxxxxxxxxxxx>
Sent: Tuesday, January 29, 2008 10:07 AM
Subject: RE: Another "java.lang.NoSuchMethodError" question
IMHO, I don't think that you have to recompile the other programs, and I
don't think that signing out and back in does anything for you.
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of MichaelH@xxxxxxxx
Sent: Tuesday, January 29, 2008 9:58 AM
To: Java Programming on and around the iSeries / AS400
Subject: Re: Another "java.lang.NoSuchMethodError" question
After I recompile a class do I need to recompile all of the programs that
call that class. I won't be changing any code.
Or do I just need to sign out and back in?
Thorbjørn Ravn Andersen <thunderaxiom@xxxxxxxxx>
Sent by: java400-l-bounces@xxxxxxxxxxxx
01/28/2008 11:50 PM
Please respond to
Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>
To
Java Programming on and around the iSeries / AS400
<java400-l@xxxxxxxxxxxx>
cc
Subject
Re: Another "java.lang.NoSuchMethodError" question
That part of the IFS is as far as I know not case sensitive. The same
goes for /home/userid.
The "NoSuchMethod" happens when the class found on disk at runtime is
different from the class used when compiling. I would look in "."
(which happen to be where?) and /JAVA/TOOLS to see if a stray class file
have sneaked in.
--
As an Amazon Associate we earn from qualifying purchases.