Java should be able to find the library if it is installed in the bin directory of the JRE you are using, or a directory in your PATH. Make sure netbeans is using the same execution environment and JRE as your regular console.
MS Carlo Desogus wrote: > Hi, i have a problem when i try to run the oscilloscope java > application in netbeans. > I`m working with tinyOS 2.1.1. under ubuntu 9.10. > > From the terminal i don`t have any problem, instead from netbeans the > code is compiled but don`t run. > The error is: > > run: > getenv JNI library not found. Env.getenv will not work > (run the tos-install-jni tool, see man tos-install-jni for more details) > > s...@localhost:9002 died - exiting (java.net.ConnectException: Connection > refused) > Java Result: 2 > BUILD SUCCESSFUL (total time: 3 seconds) > > Thanks > Carlo > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
