Archived
This forum has been archived. Please start a new discussion on GitHub.
Problem with slice2javae in installation
Hello I´m trying to install IceE again and I hava a problem in the installation.
I have this enviroment variables:
CLASSPATH C:\anacleto\rfranco\Ice\IceE-1.0.0\bin
slice2javae C:\anacleto\rfranco\Ice\IceE-1.0.0\bin
icecpp C:\anacleto\rfranco\Ice\IceE-1.0.0\bin
Path C:\anacleto\rfranco\Ice\IceE-1.0.0\bin
and the ANT run correctly. When I´m trying to execute ant in one example the following faillure is thrown:
**********************************************************
generate:
[mkdir] Created dir: C:\anacleto\rfranco\Ice\IceEJ-1.0.0\demo\IceE\jdk\hello
\generated
[slice2javae] slice2javae --output-dir C:\anacleto\rfranco\Ice\IceEJ-1.0.0\demo
\IceE\jdk\hello\generated C:\anacleto\rfranco\Ice\IceEJ-1.0.0\demo\IceE\jdk\hell
o\Hello.ice
BUILD FAILED
C:\anacleto\rfranco\Ice\IceEJ-1.0.0\demo\IceE\jdk\hello\build.xml:25: Execute fa
iled: java.io.IOException: CreateProcess: slice2javae --output-dir C:\anacleto\r
franco\Ice\IceEJ-1.0.0\demo\IceE\jdk\hello\generated C:\anacleto\rfranco\Ice\Ice
EJ-1.0.0\demo\IceE\jdk\hello\Hello.ice error=2
**********************************************************
Do you know the solution?
Thanks a lot
I have this enviroment variables:
CLASSPATH C:\anacleto\rfranco\Ice\IceE-1.0.0\bin
slice2javae C:\anacleto\rfranco\Ice\IceE-1.0.0\bin
icecpp C:\anacleto\rfranco\Ice\IceE-1.0.0\bin
Path C:\anacleto\rfranco\Ice\IceE-1.0.0\bin
and the ANT run correctly. When I´m trying to execute ant in one example the following faillure is thrown:
**********************************************************
generate:
[mkdir] Created dir: C:\anacleto\rfranco\Ice\IceEJ-1.0.0\demo\IceE\jdk\hello
\generated
[slice2javae] slice2javae --output-dir C:\anacleto\rfranco\Ice\IceEJ-1.0.0\demo
\IceE\jdk\hello\generated C:\anacleto\rfranco\Ice\IceEJ-1.0.0\demo\IceE\jdk\hell
o\Hello.ice
BUILD FAILED
C:\anacleto\rfranco\Ice\IceEJ-1.0.0\demo\IceE\jdk\hello\build.xml:25: Execute fa
iled: java.io.IOException: CreateProcess: slice2javae --output-dir C:\anacleto\r
franco\Ice\IceEJ-1.0.0\demo\IceE\jdk\hello\generated C:\anacleto\rfranco\Ice\Ice
EJ-1.0.0\demo\IceE\jdk\hello\Hello.ice error=2
**********************************************************
Do you know the solution?
Thanks a lot
0
Comments
-
Before we look into this problem, can you upgrade to the latest version Ice-E 1.1?0
-
ok
ok I have done it and the problem continues0 -
Huh? In less than one minute?0
-
Yes because I have downloaded it before
Yes, becasue I have downloaded the files before and the installation is similar to the other. I don't know where is the problem
Thanks0 -
Hi,
That's usually the error I get if slice2javae is not in the PATH when I run ant. Are you sure it's in your PATH? Are you using the Windows command shell and can you run slice2javae from the shell where you run ant?
Cheers,
Benoit.0 -
I'm agree with you
Hi again,
I'm agree with you that the problem is the path,my path is as follows:
Enviroment variable Content
Path C:\anacleto\rfranco\Ice\IceE-1.0.0\bin
and in the directory bin are slice2javae,icecpp...
I don't if I have to create an enviroment variable called slice2javae or what is the correct path.Can youy help me?
Thanks0 -
New problem
Hello, now my problem is other:
this popup is shown when I try to run slice2javae :
Error because it doesn't find MSVCP71.dll
Do you know why this popup is shown?
Thanks0 -
So what did you change to make it get over the first problem?
In any case, the error simply indicates that MSVCP71.dll cannot be found in your PATH.0