Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » path, not class path
path, not class path [message #67199] Fri, 20 May 2005 20:01 Go to next message
Al Mising name is currently offline Al Mising nameFriend
Messages: 123
Registered: July 2009
Senior Member
When one reads instructions to set the path (not the classpath) for
setting up a project, what does one do in Eclipse?

Instructions I am following say that, for Windows:

"Suppose you install the HDF object package at c:\apps\hdfobj.
setenv PATH=%PATH%;c:\apps\hdfobj\lib\win"

I've added external jars, thus setting the classpath.
I've tried adding path to the "Run" dialog, but this doesn't help
I still get an unsatisfied link error when running.
Re: path, not class path [message #67238 is a reply to message #67199] Fri, 20 May 2005 21:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Al" <allelopath@hotmail.com> wrote in message
news:21b54c16be3a65a71ef06027b6d7b084$1@www.eclipse.org...
> When one reads instructions to set the path (not the classpath) for
> setting up a project, what does one do in Eclipse?
>
> Instructions I am following say that, for Windows:
>
> "Suppose you install the HDF object package at c:\apps\hdfobj.
> setenv PATH=%PATH%;c:\apps\hdfobj\lib\win"
>
> I've added external jars, thus setting the classpath.
> I've tried adding path to the "Run" dialog, but this doesn't help
> I still get an unsatisfied link error when running.


What happens if you set the path (outside of Eclipse), before running
Eclipse?
Re: path, not class path [message #67247 is a reply to message #67238] Fri, 20 May 2005 22:34 Go to previous messageGo to next message
Al Mising name is currently offline Al Mising nameFriend
Messages: 123
Registered: July 2009
Senior Member
I haven't tried that because I thought it would be irrelevant to open a
command line window and set the path because the path set would apply only
within the command line window.
Is this not correct?
Re: path, not class path [message #67257 is a reply to message #67247] Fri, 20 May 2005 23:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wharley.bea.com

"Al" <allelopath@hotmail.com> wrote in message
news:364305696ed9584d0e7a26e1d20e43c9$1@www.eclipse.org...
>I haven't tried that because I thought it would be irrelevant to open a
>command line window and set the path because the path set would apply only
>within the command line window.
> Is this not correct?

If you then opened Eclipse from within that command line window (e.g., by
typing "eclipse" and hitting return), it would see that path.

But a better way to do it would be to set the path in the global
environment, by right-clicking "My Computer", and selecting Properties ->
Advanced -> Environment Variables. Then no matter how you launch Eclipse it
will see that path.

(There's a separate question of why the heck HDF wants to look on the path
for something. But it seems to, and there's probably not much you can do
about it.)
Re: path, not class path [message #67732 is a reply to message #67257] Mon, 23 May 2005 15:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.rizzoweb.com

Walter Harley wrote:
> "Al" <allelopath@hotmail.com> wrote in message
> news:364305696ed9584d0e7a26e1d20e43c9$1@www.eclipse.org...
>
>>I haven't tried that because I thought it would be irrelevant to open a
>>command line window and set the path because the path set would apply only
>>within the command line window.
>>Is this not correct?
>
>
> If you then opened Eclipse from within that command line window (e.g., by
> typing "eclipse" and hitting return), it would see that path.
>
> But a better way to do it would be to set the path in the global
> environment, by right-clicking "My Computer", and selecting Properties ->
> Advanced -> Environment Variables. Then no matter how you launch Eclipse it
> will see that path.
>
> (There's a separate question of why the heck HDF wants to look on the path
> for something. But it seems to, and there's probably not much you can do
> about it.)

It must be using some native code via JNI, and thus needs to find it's
DLL. Another option, I think, is to copy the required DLL(s) into the
working directory that you are launching your application from. I'm
pretty sure that windoze includes the current directory on the PATH by
default.

You might also try adding a PATH entry to the Environment tab for the
launch, if you haven't already.

HTH,
Eric
Re: path, not class path [message #68944 is a reply to message #67732] Tue, 24 May 2005 21:44 Go to previous messageGo to next message
Al Mising name is currently offline Al Mising nameFriend
Messages: 123
Registered: July 2009
Senior Member
Yes, it is using JNI.
I'm trying it now in linux, and getting the same problem
(but with .so instead of .dll files)
Re: path, not class path [message #68965 is a reply to message #68944] Tue, 24 May 2005 23:14 Go to previous message
Al Mising name is currently offline Al Mising nameFriend
Messages: 123
Registered: July 2009
Senior Member
found the problem.
similar to this:
http://blog.chinaunix.net/article.php?articleId=25209&bl ogId=1355
Previous Topic:About bookmark
Next Topic:feature and branding
Goto Forum:
  


Current Time: Sat Dec 21 14:05:04 GMT 2024

Powered by FUDForum. Page generated in 0.10804 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top