
Originally Posted by
benoit
...What does the command "slice2javae -version" say? Can you move the slice2javae translator out of the C:\Ice-3.2.0\bin directory and remove C:\Ice-3.2.0\bin from your PATH to make sure you're not using any conflicting Ice 3.2.0 DLL?Cheers,Benoit.
The "slice2javae --version" says its version 1.1.0
It's the version from this zip-file: IceE-trans-1.1.0-bin-win.zip
I have removed the slice2javae out of directory C:\Ice-3.2.0\bin.
It's now in C:\IceEJ-1.1.0\bin.
I have removed C:\Ice-3.2.0\bin from the PATH, and added C:\IceEJ-1.1.0\bin to the PATH and restarted the pc.
I unzipped the file "IceEJ-1.1.0.zip" again and placed it in C:\ root, to have a clean version.
When i run the ant file, heres the output:
Code:
Buildfile: build.xml
config-init:
init:
generate:
[slice2javae] C:\Ice-3.2.0\bin\slice2javae --output-dir C:\IceEJ-1.1.0\demo\IceE\midp\hello\generated C:\IceEJ-1.1.0\demo\IceE\jdk\hello\Hello.ice
BUILD FAILED
C:\IceEJ-1.1.0\demo\IceE\midp\hello\build.xml:25: Execute failed: java.io.IOExce
ption: Cannot run program "C:\Ice-3.2.0\bin\slice2javae": CreateProcess error=2,
File is not found (Det gÕr inte att hitta filen)
I dont understand why ant or the build-file is looking for the slicer in the C:\ice-3.2.0\bin folder. Thanks benoit for your sincere support.
Here is info on which java sdk i run:
Code:
C:\IceEJ-1.1.0\demo\IceE\midp\hello>java -version
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)