|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
Strange java vm and java compiler error
I am running on Mac OSX leapord and I have the latest version of Java installed that apple offers. Well every time I try to run the command java or javac I get this error:
dyld: Library not loaded: /usr/lib/libxslt.1.dylib Referenced from: /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices Reason: no suitable image found. Did find: /usr/lib/libxslt.1.dylib: mach-o, but wrong architecture /usr/lib/libxslt.1.dylib: mach-o, but wrong architecture Trace/BPT trap I've attempted to remove the those library files so it can't even be loaded. but that caused the javavm to hang on startup. I am not sure why I have libxslt even being loaded, I know what it is but I do not have anything do to with xslt or xml installed for java anywhere on my system. So is there a way I can make java ignore this file? |
|
#2
|
||||
|
||||
|
I'd start with a smallest possible example. Try compiling a simple hello world program from the command line. If that's not working then you've got a problem with your java installation. Uninstall it completely and download a new version of the sdk and install it fresh. Make sure to follow all the steps provided to you.
__________________
The day I get my hands on the cookbook it's all over. -nicky |
|
#3
|
|||
|
|||
|
On mac you have what you have from apple. Sun does not make a java for mac. And java will not let me compile any code, it prints that out no matter what arguments I give the java compiler or java vm
|
|
#4
|
||||
|
||||
|
1. Did I say anything about sun? I'm perfectly aware that apple makes the jdk for mac.
2. Did you do the rest of what I said about uninstalling and reinstalling. |
|
#5
|
|||
|
|||
|
I am not aware of any way to completely remove java from the mac, there are about 4 different versions which a lot of software relies on one of the four. All those those give the same error. I did however install the newest version of java for the mac, which is java 1.6. That also gave the same error.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Strange java vm and java compiler error |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|