Re: [eclipse-clp-users] Java-embedding problem with v6.1 (dev build 85) on Win7 64

From: -dp- <david_at_...151...>
Date: Tue, 20 Sep 2011 15:14:16 +0800
On Tue, Sep 20, 2011 at 11:29 AM, -dp- <david_at_...151...> wrote:

> Exception in thread "clpThread" java.lang.RuntimeException: Unsupported
> platform: Windows 7/amd64
> at com.parctechnologies.eclipse.Platform.findPlatform(Platform.java:122)
>
> Btw, I looked at the source of the findPlatform method,

eclipse_src\Eclipse_6.1_88\JavaInterface\src\com\parctechnologies\eclipse\Plaform.java


and I don't see how this exception could have been thrown. The code checks
if the "os.name" System property starts with "Windows" (the value printed
above indicates the property value is "Windows 7") and if the "os.arch"
System property is equal to "amd64" (the value printed above shows that it
is), and in this case the code should return a new Platform_x86_64_nt
object.

I also tried printing the values from within my app,

System.out.println("os.name="+System.getProperty("os.name")+";
os.arch="+System.getProperty("os.arch")+";");


and get the expected:


os.name=Windows 7; os.arch=amd64;


Ideas?  Since my installer came from dev build 85 (IIRC) and the source
comes from dev build 88, might this have changed?

David
Received on Tue Sep 20 2011 - 07:14:23 CEST

This archive was generated by hypermail 2.3.0 : Thu Feb 22 2024 - 18:13:20 CET