Results 1 to 7 of 7
  1. #1


    Member Since
    Feb 06, 2008
    Posts
    39
    Eclipse and Java not working properly
    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?

  2. #2

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

  3. #3


    Member Since
    Feb 06, 2008
    Posts
    39
    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.

  4. #4

    vansmith's Avatar
    Member Since
    Oct 19, 2008
    Location
    Toronto
    Posts
    19,782
    Specs:
    2012 13" MBP (2.5 i5, 8GB)
    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

  5. #5


    Member Since
    Feb 06, 2008
    Posts
    39
    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

  6. #6


    Member Since
    Feb 06, 2008
    Posts
    39
    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?

  7. #7


    Member Since
    Feb 06, 2008
    Posts
    39
    This is the main problem I think. I can't even see my JRE's.

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

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Taking screenshot with java applet using java robot class not working
    By sagngh8 in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 07-06-2011, 08:53 AM
  2. Eclipse is not reconising the latest Java Update
    By lukegjpotter in forum OS X - Development and Darwin
    Replies: 5
    Last Post: 11-29-2010, 03:27 PM
  3. Dock not working properly
    By fender1100 in forum OS X - Operating System
    Replies: 3
    Last Post: 06-13-2010, 09:04 PM
  4. Eclipse-Java Help (Switcher)
    By chat19 in forum OS X - Apps and Games
    Replies: 3
    Last Post: 08-27-2008, 02:46 PM
  5. eclipse (java animation issues)
    By mumia55 in forum OS X - Development and Darwin
    Replies: 1
    Last Post: 01-02-2007, 01:23 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •