Re: [eclipse-clp-users] executing eclipse code from java

From: Kish Shen <kisshen_at_cisco.com>
Date: Wed, 16 Dec 2009 22:54:58 +0000
Hi Andre,

I am not quite sure why you are getting the errors you are getting. I 
just tried running QuckTest class file with my ECLiPSe 6.0, on my 
Windows XP, and I was able to run it on both a command window (cmd) and 
cygwin window, using the syntax for the directory path you used.

Your second error suggest that the rpc (to print hello world) is 
aborting. This may indicate there is some problem with your ECLiPSe 
setup. Have you tried to run ECLiPSe directly, and does that work?

Cheers,

Kish

Andre Trudel wrote:
> I installed the latest version of eclipse 6.0.
> 
> I then checked out section 8.1 of the user manual. 
> 
> I tried to run QuickTest.java.
> 
> I couldn't get the "-D" option to work:
> 
>  
> 
>> java -Declipse.directory="C:\\Program Files\\ECLiPSe 6.0" QuickTest
> 
> Bad left expression in assignment
> 
> 
>  
> 
> I then tried adding the line:
> 
> System.setProperty("eclipse.directory", "C:\\Program Files\\ECLiPSe
> 6.0");
> 
> to QuickTest.java
> 
>  
> 
> This got rid of the eclipse.directory problem. 
> 
> But I now get:
> 
>  
> 
>> java QuickTest
> 
> com.parctechnologies.eclipse.Throw
> 
>                 at
> com.parctechnologies.eclipse.EclipseConnectionImpl.executeRpc(EclipseCon
> nectionImpl.java:396)
> 
>                 at
> com.parctechnologies.eclipse.EclipseConnectionImpl.rpc(EclipseConnection
> Impl.java:312)
> 
>                 at QuickTest.main(QuickTest.java:50)
> 
> 
>  
> 
> Any help would be greatly appreciated.
> 
>  
> 
> andre
> 
> 
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ECLiPSe-CLP-Users mailing list
> ECLiPSe-CLP-Users_at_lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users


-- 
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 Wed Dec 16 2009 - 22:55:14 CET

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