Re: [eclipse-clp-users] OutOfProcessEclipse and Linux

From: Christian Wirth <tyrion_at_...215...>
Date: Tue, 29 Jun 2010 14:21:20 +0200
In fact, it was a trivial error, but hard to find if u are not familiar 
with linux, hence here is the solution if someone is going to have the 
same problem in the future:
It is requiered to set the eclipse clp dir (not only bin, but also lib 
subdir) to full access right (CHMOD).

Maybe it would be a good idea to implement an according error message.

cheers christian


Christian Wirth schrieb:
> In fact, it was a trivial error, but hard to find if u are not 
> familiar with linux, hence here is the solution if someone is going to 
> have the same problem in the future:
> It is requiered to set the eclipse clp dir (not only bin, but also lib 
> subdir) to full access right (CHMOD).
>
> Maybe it would be a good idea to implement an according error message.
>
> cheers christian
>
> Joachim Schimpf schrieb:
>> Christian Wirth wrote:
>>  
>>> My OutOfProcessEclipse parallelisation works now (thanks to Wit 
>>> Jakuczun
>>> and Joachim Schimpf) .. but only in Windows.
>>> When porting the program to linux, i get the following error:
>>>
>>> java.lang.NumberFormatException: null
>>>         at java.lang.Integer.parseInt(Unknown Source)
>>>         at java.lang.Integer.parseInt(Unknown Source)
>>>         at
>>> com.parctechnologies.eclipse.OutOfProcessEclipse.<init>(OutOfProcessEclipse.java:82) 
>>>
>>>
>>> called by
>>>
>>>         System.setProperty("eclipse.directory", ECLIPSE_DIR);
>>>     
>>
>> The first thing would be to check your value of ECLIPSE_DIR, it must
>> point to your ECLiPSe installation directory.  As it's a string, make
>> sure it's a proper Unix path.  It may be safer to use
>> public void setEclipseDir(java.io.File eclipseDir)
>> to set it.
>>
>> Also, make sure you have installed ECLiPSe properly using the RUNME 
>> script:
>> Check whether you can manually run the command line eclipse
>> <ECLIPSE_DIR>/bin/<ARCH>/eclipse
>> and get a prompt.
>>
>> -- Joachim
>>
>> ------------------------------------------------------------------------------ 
>>
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> ECLiPSe-CLP-Users mailing list
>> ECLiPSe-CLP-Users_at_lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/eclipse-clp-users
>>
>>   
>
>
Received on Tue Jun 29 2010 - 13:06:44 CEST

This archive was generated by hypermail 2.3.0 : Wed Sep 25 2024 - 15:13:20 CEST