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

"Libran Mail Me" <[email protected]> Fri, 2 Mar 2007 09:07:42 +0530
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
------=_Part_20272_13792701.1172806662754
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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
>

------=_Part_20272_13792701.1172806662754
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<div>Hi,</div>
<div>&nbsp; Sorry for not giving the exact details.The exact error message is</div>
<div>&nbsp;</div>
<div>&quot;Exception in thread &quot;main&quot; java.lang.NoSuchFieldError: &lt;class_name&gt;: field&nbsp;&lt;field_name&gt; not found&quot;<br><br>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&nbsp; do the linux specific libraries? how can it be resolved?
</div>
<div>&nbsp;</div>
<div>Thanks in advance,</div>
<div>Lib</div><br><br>
<div><span class="gmail_quote">On 3/1/07, <b class="gmail_sendername">Libran Mail Me</b> &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi,</div>
<div>&nbsp;&nbsp; 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)&nbsp; 
</div>
<div>I am a beginner in Java. Kindly let me know&nbsp;how I can&nbsp;run my jar file on linux/solaris.&nbsp;&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>lib&nbsp;</div></blockquote></div><br>

------=_Part_20272_13792701.1172806662754--


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]