[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools.hyades] Re: launch remote application

Luca Di Stefano a écrit :
>>
>> Is it only the button browse that is disabled?
> 
> classpath and class related buttons are disabled, but text areas are
> enabled.
> 
>> Couldn't you specify 'MyTest' in the specify class field (assuming
>> MyTest has a main method)?
> 
> 
> Yes I can, and I do it but it not works:
> I copied the project environment in the remote host, setted the
> classpath with absolute paths of remote machine, setted the class (with
> main obviously) and started profile:
> on remote windows I get in console
> java.lang.NoClassDefFoundError: org/lds/test/MyTest
> Exception in thread "main"
> 

It works well on my system.

I have this java file :
package org.test;
public class Test
{
    public static void main(String[] args)
    {
        System.out.println("ok");
    }
}

I have in /tmp org/test/Test.class

try first on the remote linux
java org.test.Test
ok

then in the profile menu
path : /tmp
class : org.test.Test

Regards

-- 
Sebastien Mathy