I followed the steps from these instructions and it wouldn't work.  I will try 
adding the cvs steps you added and see if that leaves me with a working 
environment!

Thanks,
Newlyn
On Jan 15, 2010, at 1:35 AM, Henrik Mäkitaavola wrote:

> Hi,
> 
> I don't know whats generating your error message but I can tell you the way I 
> setup a new TinyOS environment when I install it on a new Ubuntu machine:
> 
> 1. Follow the steps found here : 
> http://docs.tinyos.net/index.php/Installing_TinyOS_2.1#Two-step_install_on_your_host_OS_with_Debian_packages
>  under the Two-step_install_on_your_host_OS_with_Debian_packages section. You 
> can skip step 3 and 4.
> 
> 2. Receive the latest version from cvs by executing
> $ cvs -z3 -d:pserver:[email protected]:/cvsroot/tinyos co 
> -P tinyos-2.x
> In a folder of your choice, preferably in a folder inside your user 
> directory, then you don't need to change the permissions of the folders.
> 
> 3. Copy the tinyos.sh file located in the installation directory of your 
> repository installation, /opt/tinyos-2.1.0/, to your newly created tinyos 
> directory received from cvs. Change the TOSROOT variable in the new tinyos.sh 
> file to point to tour cvs version of tinyos.
> 
> 4. add
> source <Path to your TinyOS cvs version>/tinyos.sh
> To your /home/<your user>/.bashrc file.
> 
> 5. Execute
> $ source /home/<your user>/.bashrc
> and go into "<Path to your TinyOS cvs version>/apps/Blink" you should be able 
> to execute
> $ make micaz
> without a problem.
> 
> This has always worked for me, hope it helps you also.
> 
> Cheers
> Henrik
> 
> 2010/1/15 Newlyn Erratt <[email protected]>
> All:
> 
>        I was attempting to do the deb install on hardy heron.  Everything 
> seemed to go alright but when I tried make on the Blink project I got various 
> errors.
> 
> On make micaz I get
> 
> Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad 
> version number in .class file
> 
> I'm posting this from a seperate machine so I don't want to type whole trace 
> in but it starts at:
> java.lang.ClassLoader.devineClassl(Native Method)
> finally to
> java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> 
> Does anyone have any ideas what I need to do here?  I've been having trouble 
> getting a dev. environment setup with tinyOS in general.  Have tried this and 
> Mac(will be sending a question about this as well) and have run into issues 
> with both.
> 
> Thanks!
> _______________________________________________
> 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

Reply via email to