LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-05-2009, 01:09 AM   #1
kapila_sr
Member
 
Registered: Jul 2008
Posts: 33

Rep: Reputation: 15
SH file running at boot time but getting some error in java


HI all,

I have writen simple java aplication which is using socket programming.
so to start my program I have sh file

But Im getting this error

Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: run.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/opt/host/java.version=1.4.2)
at __libc_start_main (/lib/tls/libc-2.3.4.so)
at _Jv_RegisterClasses (/opt/host/java.version=1.4.2)
Help
Kapila
 
Old 11-05-2009, 07:51 AM   #2
chiragrk
Member
 
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
Pls paste your code. From quick look it looks like you made a syntax error or a typo.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
error in running java Mridulj Linux - Software 10 04-16-2009 03:56 PM
Error running java gamor Linux - Newbie 4 06-01-2007 01:50 AM
Java File Processing using Scanner; Can't get it to read file in running directory xemous Programming 2 09-26-2006 06:13 PM
running dhcpd at boot time Fritz_Monroe Slackware 6 06-16-2005 06:43 PM
Running scripts at boot time saintt Linux - Software 1 08-09-2002 05:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration