Dear tinoyos help, I'm having some trouble setting up the bouncy castle provider for JCE. Bouncy castle provider is a requirement for TinyECC (http://discovery.csc.ncsu.edu/software/TinyECC/) which requires tinyos 1.0 which i have set up apart from the java classpath which still points to the directory in tinos 2.0. I have compiled TinyECC succesfully, The provider requires JDK5.0 which i downloaded from http://java.sun.com/j2se/1.5.0/download.jsp
I then installed the java binary file (java_ee_sdk-5_01-linux.bin) to the directory /opt/SDK. The problem is that Java has already come with my tinyos2.0 installation and it is located in /opt/tinyos-2.x/support/sdk/java I followed the instructions for installing the provider statically (http://www.bouncycastle.org/wiki/display/JA1/Provider+Installation) and i could only find the file JAVA_HOME/jre/lib/security/java.security in /opt/SDK but not in /opt/tinyos-2.x/support/sdk/ which contains important applications such as serialforwarder. The installation instructions also pointed out that you have to install the unlimited policy files in the JVM you are using however i do not know where they are and do not know which part of the installation needs them. I cannot change the classpath from: :/opt/tinyos-2.x/support/sdk/java/tinyos.jar:/opt/tinyos- 2.x/support/sdk/java/ to: /opt/SDK because the directory does not contain the file 'tinyos.jar' and does not include some of the tinyos applications such as serialfowarder. So changing the classpath to the new Java installation (with the bouncy castle modification) causes serialforwarder to stop working which also happened when we tried changing the classpath to /opt/tinyos-1.x/tools/java/javapath. I have also tried modifying the classpath by adding the new java directory to the end and tried separating each address by a colon and i still get some errors. Is there a way i could get both bouncy castle and serial forwarder to work at the same time? Regards, Michael _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
