randomwsv
randomwsv

Reputation: 21

OptaPlanner:Java Error in runexamples.bat

Windows 10 Installed latest java version (jdk1.8.0_111) Downloaded optaplanner and tried to run runexamples.bat from command prompt

Error message: \Java\jdk1.8.0_111)... was unexpected at this time

Can you please help resolve?

Thanks

Upvotes: 0

Views: 223

Answers (2)

landau89
landau89

Reputation: 1

You can install windows x64 instead of windows x86 versions. We had the same error message \Java\jdk1.8.0_111)... was unexpected at this time. After installing 64bit java and setting JAVA_HOME for jdk1.8.0_111, everything goes fine.

Upvotes: 0

randomwsv
randomwsv

Reputation: 21

Problem solved. 1. we used c:\progra~2 instead of c:\program files (x86) and 2. we used the environment variable _JAVA_OPTIONS The program fired up once these were done. Thanks for your time

Upvotes: 1

Related Questions