Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Java - Which Version is Compatible with Alice 2.2?
Old
yammie1122
Junior Member
 
Status: Offline
Posts: 11
Join Date: Mar 2012
Default Java - Which Version is Compatible with Alice 2.2? - 04-12-2012, 11:06 AM

Which version of Java should we be running on our computer to be compatible with Alice 2.2?

I am receiving Java errors when performing exercises from Chapter 8 & 9 of my book, so I have no way to verify if my programs are working properly.

I have tried 3 different computers (2 - Windows 7, 1 - Windows Vista). I've downloaded the latest Java 1.6.0_31 but still receive the Java errors. I've also tried using it with older versions of Java from 1.5.0_22, 1.6.0_16, 1.6.0_24, and 1.6.0_24, but still no good. I have already rebooted these machines several times, verified that the latest Java 1.6.0_31 is enabled, and cleared out my Java cache, but still no good.

I attached the Java error to this thread, so you can see the exact error I'm receiving.

Any help would be greatly appreciated.
Attached Files
File Type: txt java error.txt (6.7 KB, 8 views)
   
Reply With Quote
Update your Alice
Old
aikmin
Senior Member
 
aikmin's Avatar
 
Status: Offline
Posts: 85
Join Date: Mar 2008
Default Update your Alice - 04-12-2012, 07:21 PM

Alice uses the JRE in its own Required folder, so updating your computer's JRE does nothing to help with the problem. By the way, the bug was not caused by Java or Alice. It looks like you have a null value in your program. It will be helpful if you can attach your program here so we can help determine the problem. You should also update your Alice 2.2.
   
Reply With Quote
Old
yammie1122
Junior Member
 
Status: Offline
Posts: 11
Join Date: Mar 2012
Default 04-12-2012, 08:20 PM

I've received null exception errors on other programs but this was different then the typical null exception error. The program is to use list variables to have 4 characters perform the wave. I have tried all 3 latest Alice 2.2b (Mar 12, Dec 11, and Aug 11) releases and receive the same error in all three.
Attached Files
File Type: a2w the_wave.a2w (1.81 MB, 8 views)
   
Reply With Quote
Old
Mr Kidnapper
Senior Member
 
Status: Offline
Posts: 442
Join Date: Feb 2011
Default 04-22-2012, 03:42 AM

Congratulations. This is an actual bug. Objects from parameters apparently return as null in Alice regardless of the subpart you list. Not sure if it's just for roll though. I didn't test it.
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2017, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.