I got error with this command 'java -jar NodeView-v1.1.jar'
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.
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:
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.
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;)
You didn't say what was the error you got.
The error I got from the terminal window was
'Error: Unable to access jarfile NodeVoew-v1.1.jar'
|All times are GMT -5. The time now is 11:42 PM.|