Click to See Complete Forum and Search --> : Path name in Eclipse example Explorer


fhoema
08-10-2003, 08:16 AM
Hello!

I've just started working with Eclipse under Suse 8.1 for development of standalone SWT/JFace apps.
In order to speed up the learning curve I have examined some examples, one of them "explorer" (http://www-106.ibm.com/developerworks/library/os-ecgui1/).

In this example a Windows root path is hard coded "C:\\".
As Linux and Java newbie I thought that in Linux I had to replace that by "/".

Pitty: explorer does not open running from the IDE and gives an exception.

When I specify a for Linux invalid win-pathname then the exporer app opens but it does not show any directory structure (as expected).

Could one of you experts help me out on this?

Brgds.

Fhoema.