Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
0

Can't run example

Hi,

I downloaded latest version of gigaspaces and getting an error when trying to compile example:

Platform: Windows XP, SP2
Java: jdk 1.4
Gigaspace version: EE 5.1, build 1603
Example: basic\helloSpace

Exception:

      • md5-8df0c3b550732f4ed6d157f5c892a3e3

JAVA_HOME environment variable is set to c:\jdk1.4 in "<GigaSpaces Root>\bin\set
env.bat"
Environment set successfully from C:\GigaSpacesEE5.1\bin\\..
The system cannot find the file specified.
..\src\com\jspaces\examples\hellospace\HelloWorld.java:18: cannot access com.j
spaces.core.client.FinderException
bad class file: C:\GigaSpacesEE5.1\bin\..\lib\JSpaces.jar(com/j_spaces/core/clie
nt/FinderException.class)
class file has wrong version 49.0, should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpa
th.
import com.j_spaces.core.client.FinderException;
                                ^
1 error
error: Class com.j_spaces.examples.hellospace.Listener not found.
1 error
Press any key to continue . . .
C:\GigaSpacesEE5.1\examples\Basic\helloSpace\bin>

    • md5-46e38bda1c8b0551ea3695738be64c1b

Thanks,
Mark.

This thread was imported from the previous forum.
For your reference, the original is available here

asked 2006-09-20 21:13:04 -0500

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

dear Mark,

it seems you have downloaded "EE 5.1, build 1603 JDK 1.5"...

please go to downloads.html">http://www.gigaspaces.com/osdownloads.html and select "JDK 1.4" in the combobox.

thanks
Bernard

answered 2006-09-21 11:01:01 -0500

bernard gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2006-09-20 21:13:04 -0500

Seen: 53 times

Last updated: Sep 21 '06