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

From: Kish Shen <kisshen_at_cisco.com>
Date: Fri, 16 Sep 2011 17:42:10 +0100
Hi David,

On 16/09/2011 03:44, -dp- wrote:

> When I try to launch C:\Program Files\ECLiPSe
> 6.1\tcltk\x86_64_nt\bin\wish85.exe, I get the two blank windows shown in the
> attachment, every time I try launching.
>

wish is the command to launch Tcl/Tk, not ECLiPSe.

To launch TkECLiPSe, you should go to the program menu from what was the 
'Start' button of Windows, and select ECLiPSe 6.1 (64 bit)->TkECLiPSe. 
You can also create a short-cut for TkECLiPSe by dragging the TkECLiPSe 
menu item onto your desk-top.



> The path in the error indicates that somewhere, "\lib\i386_nt\eclipse.exe"
> is being appended to any path I provide:

I am guessing you are running 32 bit Java. Windows has this "feature" 
that when you run a 32 bit application (such as 32 bit Java), it 
silently maps everything to the 32 bit version -- paths, registry 
entries, etc. This allows you to write the same code and be able to run 
both 32 bit and 64 bit applications with it, but it makes it very hard 
to run a 64 bit application from within your 32 bit application. I think 
this is what is causing your problems.

To get around this, you should use 64 bit Java (assuming this is your 
problem).

[this actually might make it difficult to run an OutOfProcessEclipse of 
different word size from the Java Interface, not because you can't 
connect Java to an OutOfProcessEclipse of different word length, but 
because you can't easily launch an ECLiPSe of a different word length 
from within Java]

Cheers,

Kish



-- 
This e-mail may contain confidential and privileged material for the
sole use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply e-mail and delete all copies of this message.
Cisco Systems Limited (Company Number: 02558939), is registered in
England and Wales with its registered office at 1 Callaghan Square,
Cardiff, South Glamorgan CF10 5BT.
Received on Fri Sep 16 2011 - 16:42:18 CEST

This archive was generated by hypermail 2.2.0 : Thu Feb 02 2012 - 02:31:58 CET