-   Linux - Software (
-   -   I got error with this command 'java -jar NodeView-v1.1.jar' (

mohdismiaswaly 04-22-2009 08:53 AM

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 <>. 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.
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/
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 <>

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;)

bathory 04-22-2009 10:15 AM

You didn't say what was the error you got.

mohdismiaswaly 04-23-2009 07:11 AM

The error I got from the terminal window was
'Error: Unable to access jarfile NodeVoew-v1.1.jar'

bathory 04-23-2009 07:24 AM


Originally Posted by mohdismiaswaly (Post 3518230)
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

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