unable to run a jar file in linux-Plz help me

2007-03-01 Thread Libran Mail Me

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


Re: unable to run a jar file in linux-Plz help me

2007-03-01 Thread Libran Mail Me

Hi,
 Sorry for not giving the exact details.The exact error message is

"Exception in thread "main" java.lang.NoSuchFieldError: :
field  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