When you say <class_name> and <field_name> are you eliding the actual
values, or is that the verbatim message?
One of the first things you might examine is the version of java on
the different platforms. Look at the output of the command:
java -version
on each of the different platforms. Typically things like
NoSuchFieldError are the result of running class files compiled
against one version of the Java libraries (or a third party library)
against a different version.
-wilhelm
On Mar 1, 2007, at 7:37 PM, Libran Mail Me wrote:
Hi,
Sorry for not giving the exact details.The exact error message is
"Exception in thread "main" java.lang.NoSuchFieldError: <class_name>:
field <field_name> not found"
perhaps JVM is saying that he is unbale to recognise the field in the
class(an user defined class), But I am surprised how the same jar
runs on
dos properly. Do you think it could be anything to do the linux
specific
libraries? how can it be resolved?
Thanks in advance,
Lib
On 3/1/07, Libran Mail Me <[EMAIL PROTECTED]> wrote:
Hi,
I am facing a problem while running a jar file (which I created
using
eclipse v3.2.1 on windows XP.) on linux.The same jar file runs
fine on
dos, whereas on linux or solaris it returns a weird issue.(XYZ not
defined
or something like that)
I am a beginner in Java. Kindly let me know how I can run my jar
file on
linux/solaris.
lib
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]