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

Ask Your Question

Revision history [back]

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:


C:\GigaSpacesEE5.1\examples\Basic\helloSpace\bin>compile 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\j_spaces\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>


How do I get it to compile/run with Jdk 1.4?

Thanks, Mark.

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:


C:\GigaSpacesEE5.1\examples\Basic\helloSpace\bin>compile 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\j_spaces\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>


How do I get it to compile/run with Jdk 1.4?

Thanks, Mark.