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

From: Joachim Schimpf <joachim.schimpf_at_...269...>
Date: Tue, 29 Jun 2010 10:11:52 +1000
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
Received on Tue Jun 29 2010 - 00:09:46 CEST

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