New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

Eclipse and Java not working properly


Post Reply New Thread Subscribe

 
Thread Tools
walton12

 
Member Since: Feb 06, 2008
Posts: 39
walton12 is on a distinguished road

walton12 is offline
So for my computer programming class, I need to use Subversion. However, it seems that my Eclipse (Indigo, Eclipse IDE for Java Developers) is having a problem connecting with my Java SE 6.

Here is the error when I try to look at the property for SVN in Eclipse:

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java


And if I try looking at the Installed JREs in Eclipse under preferences, I get this error:

Unable to create the selected preference page.
An error occurred while automatically activating bundle org.eclipse.jdt.debug.ui (150).

This is the error when I try running a test code that was in the assignment:

An internal error occurred during: "Launching CodeTest".
org/eclipse/jdt/debug/core/JDIDebugModel

Any Ideas?
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,827
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
If you're using Lion, have you installed Java? Unlike Snow Leopard, Java is no longer included with OS X.

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
walton12

 
Member Since: Feb 06, 2008
Posts: 39
walton12 is on a distinguished road

walton12 is offline
I have 10.5.8, and I looked under Java Preferences and I have:
J2SE 5.0 (32 bit)
Java SE 6 (64 bit)
J2SE 1.4.2 (32 bit)
J2SE 5.0 (64 bit)

I have only Java SE 6 turned on.
QUOTE Thanks
vansmith

 
vansmith's Avatar
 
Member Since: Oct 19, 2008
Location: Toronto
Posts: 17,827
vansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond reputevansmith has a reputation beyond repute
Mac Specs: 2012 13" MBP (2.5 i5, 8GB)

vansmith is offline
Thanks for the info.

For you first problem, have you installed JavaHL? Take a look here for some instructions. For your second issue, that's an odd error. Are you by chance trying to run the 64-bit Eclipse app bundle on a 32-bit JVM?

Important Links: Community Guidelines : Use the reputation system if you've been helped.
M-F Blog :: Write for the blog
Writing a Quality Post
QUOTE Thanks
walton12

 
Member Since: Feb 06, 2008
Posts: 39
walton12 is on a distinguished road

walton12 is offline
I have JavaHL 1.6.17. I downloaded it following these instructions :Installing Subclipse in Eclipse 3.7

And I am running this Eclipse for 64 bit, because I thought my Mac was 64 bit.
Eclipse IDE for Java Developers | Eclipse Packages
QUOTE Thanks
walton12

 
Member Since: Feb 06, 2008
Posts: 39
walton12 is on a distinguished road

walton12 is offline
I found this in the readme for Eclipse 32bit version:

On Leopard (Mac OS X 10.5), JDK version 1.6 assumes that pointers have a size of 64 bits, but SWT's Carbon port only uses 32-bit pointers, so SWT and Eclipse cannot be used on Leopard with JDK version 1.6. The workaround is to use the Cocoa version of SWT or an earlier supported version of the Mac OS X JDK.

Is that my problem?
QUOTE Thanks
walton12

 
Member Since: Feb 06, 2008
Posts: 39
walton12 is on a distinguished road

walton12 is offline
This is the main problem I think. I can't even see my JRE's.

http://img.photobucket.com/albums/v4...2/Picture9.png
QUOTE Thanks

Post Reply New Thread Subscribe


« ntpd not being nice | Parental Control software for Lion »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Eclipse Helios (3.6) unusable on OSX? MacMarkus OS X - Apps and Games 1 04-27-2011 06:06 AM
How does eclipse work on mac? Jewbikscube OS X - Development and Darwin 3 01-13-2011 11:58 PM
Eclipse is not reconising the latest Java Update lukegjpotter OS X - Development and Darwin 5 11-29-2010 03:27 PM
eclipse (java animation issues) mumia55 OS X - Development and Darwin 1 01-02-2007 01:23 PM
Java From Terminal jdgti OS X - Development and Darwin 10 03-26-2005 07:16 PM

All times are GMT -4. The time now is 12:21 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?