The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com



Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
what is problem with this small shell script.. case statement related johnray31 Shell Programming and Scripting 2 12-10-2007 03:05 PM
shell script related query gopsman Shell Programming and Scripting 1 12-03-2007 12:50 AM
shell script related to server nitiwari Shell Programming and Scripting 2 09-07-2005 07:37 AM
A simple shell question a_new_admin Shell Programming and Scripting 2 11-01-2001 01:28 PM
Model script related question TioTony UNIX for Advanced & Expert Users 2 10-17-2001 11:35 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 12-21-2007
Drags111 Drags111 is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 2
Simple Shell Script Question.... [java related]

Hey guys! This is my first post, as im new here :S
I have a simple problem for a big program.
We have a .sh to install it, but when I run the .sh in terminal like i should, It says the class is not found. I believe it has to do with the syntax, as the person who made it is not a linux pro. I don't know MUCH about shell scripts, but I'm pretty sure I know where the error lies.

Our Script:
Code:
java -classpath ./:./jars/tools.jar:./jars/nexus.jar impsoft.nexus.installer.Install

chmod a+x run.sh compile.sh
The Error:
Code:
Exception in thread "main" java.lang.NoClassDefFoundError: impsoft/nexus/installer/Install
What I think the problem is:
Code:
./jars/nexus.jar impsoft.nexus.installer.Install
Thank you for ALL of your help!
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:26 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0