Unix questions - Execution error java prog inside shell script

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > February 2005 > Execution error java prog inside shell script





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Execution error java prog inside shell script
Martin Caldwell

2005-02-17, 5:54 pm

When I execute a Java program from the command line

/test/mypath>java myprog

everything is fine. If I put the same statement into shell script (in the same directory)
the execution fails with an error

Exception in thread "main" java.lang.NoClassDefFoundError: /test/mypath/myprog

What's wrong?

Martin

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com