LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-22-2009, 07:53 AM   #1
mohdismiaswaly
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Rep: Reputation: 0
Smile I got error with this command 'java -jar NodeView-v1.1.jar'


Hi Everyone,

I am new to Linux and currently doing a project on 6LoWPAN. I got a kit from Sensinode and I want to install NodeView apllication. The instruction to install NodeView is given below.

Step 1 – Install the RXTX Java library
The RXTX library can be found from the CD-ROM under /NodeView. To install the library please follow
the instructions included there for your platform. The library and installation instructions are also available
from <http://www.rxtx.org>. The installation includes an RXTXcomm.jar to be placed under the Java
library path. In addition a system-specific library is installed.
Note: RXTX requires you to be a member of groups uucp and lock in *NIX environments
Step 2 – Copy the NodeView-v1.1.jar package
Copy the NodeView-v1.1.jar file to a NodeView directory of your choice from which it can be executed.
NodeView needs no further files to be installed.
Troubleshooting
When in Linux NodeView might crash at startup with errors like:
java: xcb_xlib.c:50: xcb_xlib_unlock: Assertion `c->xlib.lock' failed.
This is a well known bug in either Sun Java or in X11.
Workaround for this:
As root:
sed -i 's/XINERAMA/FAKEEXTN/g' /usr/java/jdk1.6.0_04/jre/lib/i386/xawt/libmawt.so
replace "/usr/java/jdk1.6.0_04" with the path to your Java installation.
4 Usage
To start NodeView double-click on the NodeView-v1.1.jar file in Windows or type
java -jar NodeView-v1.1.jar
in Linux. This will open the “Router view” NodeView tab.

I think I have done all the things asked by the manual. Prior to this instruction, the manual said that to ensure these things:

● Sun Java version 6 or greater required
○ Only the Sun JRE (Java Runtime Environment) is needed for just executing NodeView
● The RXTX v2.1 platform-independent serial library from <http://www.rxtx.org>

I am using root session and the Linux Fedora Core 8. Could anyone please help me to solve this problem. Your help is highly appreciated. Thanks
 
Old 04-22-2009, 09:15 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,771

Rep: Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283
You didn't say what was the error you got.
 
Old 04-23-2009, 06:11 AM   #3
mohdismiaswaly
LQ Newbie
 
Registered: Apr 2009
Posts: 3

Original Poster
Rep: Reputation: 0
The error I got from the terminal window was
'Error: Unable to access jarfile NodeVoew-v1.1.jar'
 
Old 04-23-2009, 06:24 AM   #4
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,771

Rep: Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283Reputation: 1283
Quote:
Originally Posted by mohdismiaswaly View Post
The error I got from the terminal window was
'Error: Unable to access jarfile NodeVoew-v1.1.jar'
Are you sure you didn't make a typo? Because the filename is NodeView-v1.1.jar
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java apps runs fine but gives error from jar file-NoClassDefFoundError lbyrd Linux - Software 5 04-25-2006 11:50 AM
Where do I install a Java .jar file? cumbersome Slackware 1 04-22-2006 01:46 PM
How jar java program? treotan Programming 3 09-08-2005 12:03 AM
Fedora Core 1 Associating .jar files with java -jar command pymehta Fedora 0 01-13-2005 05:26 AM
Mandrake and the command java -jar silent1_22 Linux - Distributions 3 11-23-2002 06:25 AM


All times are GMT -5. The time now is 02:06 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration