LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-16-2016, 12:47 PM   #1
Kali84
LQ Newbie
 
Registered: Mar 2016
Posts: 5

Rep: Reputation: Disabled
How to run programme using external jar?


I'm trying to use several libraries and run a programme. The command I have is

java -cp .:./home/ec2-user/poi-3.14/poi-3.14-20160307.jar TCPSerServer

The programme runs but the library call is not working, I'm getting an error associated with it ie noclassfounddeferror.

Am I doing something wrong?
 
Old 03-17-2016, 09:59 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,818

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
well what is this unknown library ?
and what is the unknown error ?

please include the error
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] trying to run "java -jar start.jar" at boot Centos6.4 nschklar Linux - Newbie 2 06-09-2013 09:10 PM
How do i run a programme from the terminal? kyle7042 Linux - Newbie 6 04-27-2012 11:54 AM
.run programme leighroy Linux - Software 7 12-09-2010 02:57 PM
classpath for external jar library preeti_c Linux - Newbie 2 02-22-2009 11:41 AM
Perl - execute external programme armandino101 Programming 5 12-15-2006 07:38 PM


All times are GMT -5. The time now is 02:09 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration