Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Helios configuration problem(Runtime error in app after installing Helios - 3.6.1 under Ubuntu)
icon5.gif  Helios configuration problem [message #653178] Tue, 08 February 2011 18:32 Go to next message
Robert Lockwood is currently offline Robert LockwoodFriend
Messages: 45
Registered: October 2010
Location: Riverside, CA, USA
Member
I've been using Eclipse 3.5 and downloaded 3.6 yesterday (Ubuntu). I unzipped to one of my folders and made a copy of one of my workspaces to test it. One of my apps compiles without warnings but fails at runtime with an error:

Exception in thread "main" java.lang.UnsatisfiedLinkError: no PvJNI in java.library.path

I I think I've gone through all the preference menus and compared them to 3.5 to no avail.

How do I correct this? It's my intention to uninstall 3.5 if 3.6 works with my code.

Re: Helios configuration problem [message #653215 is a reply to message #653178] Tue, 08 February 2011 21:14 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 2/8/11 1:32 PM, Robert Lockwood wrote:
> I've been using Eclipse 3.5 and downloaded 3.6 yesterday (Ubuntu). I
> unzipped to one of my folders and made a copy of one of my workspaces to
> test it. One of my apps compiles without warnings but fails at runtime
> with an error:
>
> Exception in thread "main" java.lang.UnsatisfiedLinkError: no PvJNI in
> java.library.path
>
> I I think I've gone through all the preference menus and compared them
> to 3.5 to no avail.
>
> How do I correct this? It's my intention to uninstall 3.5 if 3.6 works
> with my code.
>
>

First thing: workspaces are not intended to be copied and/or moved
around. Doing so almost always leads to problems.

Second: what is PvJNI? Is your project using JNI to call into native
code? If so, you'll have to edit the launch configuration for the
project to add the location of PvJNI to the runtime java.library.path.

Eric
Re: Helios configuration problem [message #653232 is a reply to message #653215] Tue, 08 February 2011 22:04 Go to previous messageGo to next message
Robert Lockwood is currently offline Robert LockwoodFriend
Messages: 45
Registered: October 2010
Location: Riverside, CA, USA
Member
Thanks, Eric, I think I would like to "upgrade" from 3.5, which is properly installed as an application on the machine, to 3.6 - how do I properly do that?

I really like Eclipse, it's helping me to learn Java and some Swing and to make progress on my larger work projects. I've been using Borland for years.

Nate

Re: Helios configuration problem [message #653251 is a reply to message #653232] Wed, 09 February 2011 02:28 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 2011.02.08 15:04, Robert Lockwood wrote:
> Thanks, Eric, I think I would like to "upgrade" from 3.5, which is
> properly installed as an application on the machine, to 3.6 - how do I
> properly do that?
>
> I really like Eclipse, it's helping me to learn Java and some Swing and
> to make progress on my larger work projects. I've been using Borland for
> years.
> Nate

You install Helios just as you did Galileo. Once you've installed it,
launch it and open your original workspace. It will likely work. The
only thing that might keep it from working would be having failed to
install in Helios any important plug-ins you had in Galileo.

Do this first, then if you've got something special like a JNI, come
back and let's talk about that separately.
Re: Helios configuration problem [message #653404 is a reply to message #653251] Wed, 09 February 2011 16:33 Go to previous messageGo to next message
Robert Lockwood is currently offline Robert LockwoodFriend
Messages: 45
Registered: October 2010
Location: Riverside, CA, USA
Member
Thanks.

IIRC I installed 3.5 from Ubuntu using Ubuntu Software Center. When I access Ubuntu Software Center there is only the option of "Remove". The page that describes Eclipse refers to 3.5 but I don't know if that is a reference to what is installed or what is available.

Should I remove 3.5 and then install 3.6? Is apt-get available?

I don't want Indigo as I really need CDT and want Window Builder neither of which appear to be available for Indigo yet.



Re: Helios configuration problem [message #653428 is a reply to message #653404] Wed, 09 February 2011 17:29 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 2/9/11 11:33 AM, Robert Lockwood wrote:
> Thanks.
>
> IIRC I installed 3.5 from Ubuntu using Ubuntu Software Center. When I
> access Ubuntu Software Center there is only the option of "Remove". The
> page that describes Eclipse refers to 3.5 but I don't know if that is a
> reference to what is installed or what is available.
> Should I remove 3.5 and then install 3.6? Is apt-get available?
>
> I don't want Indigo as I really need CDT and want Window Builder neither
> of which appear to be available for Indigo yet.

I strongly recommend against installing Eclipse from any of the Linux
distro package managers. Instead, go right to the source,
www.eclipse.org/downloads and get the package you want. Just make sure
you have the Sun/Oracle JDK installed and configure Eclipse to use it
(see http://wiki.eclipse.org/Eclipse.ini )

Eric
Re: Helios configuration problem [message #653445 is a reply to message #653428] Wed, 09 February 2011 19:19 Go to previous messageGo to next message
Robert Lockwood is currently offline Robert LockwoodFriend
Messages: 45
Registered: October 2010
Location: Riverside, CA, USA
Member
So I would just unzip and put the Eclipse folder where convenient, say in my Development folder, and proceed as outlined in the wiki?

Thanks
Re: Helios configuration problem [message #653488 is a reply to message #653445] Wed, 09 February 2011 22:05 Go to previous messageGo to next message
Eric Rizzo is currently offline Eric RizzoFriend
Messages: 3070
Registered: July 2009
Senior Member
On 2/9/11 2:19 PM, Robert Lockwood wrote:
> So I would just unzip and put the Eclipse folder where convenient, say
> in my Development folder, and proceed as outlined in the wiki?

Yep; Eclipse installation is a breeze that way.
Re: Helios configuration problem [message #653507 is a reply to message #653488] Thu, 10 February 2011 02:21 Go to previous message
Robert Lockwood is currently offline Robert LockwoodFriend
Messages: 45
Registered: October 2010
Location: Riverside, CA, USA
Member
Thanks, it was a breeze that way - I had no idea. Got C and I think I have Window Builder installed (I don't know how to start it) and test ran two apps! Very Happy
Previous Topic:Making a Button clinked to a web site
Next Topic:SWT ScrollBar problem
Goto Forum:
  


Current Time: Thu Apr 25 06:55:07 GMT 2024

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

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

Back to the top