Pick of the Week - Feb 6: [View All]
Chax
Add useful new features to iChat
    
 Welcome to macosxhints Over 8,417 hints served!   Sunday February 12, 2006



 10.4: A fix for broken Java after XCode installation
 Fri, Apr 29 '05 at 09:01PM • from: Anonymous
System 10.4 
Tiger only hintAfter I installed Xcode (I selected to install everything), Java produced same segmentation fault problem as in 10.3.9. I found a solution by applying steps for Java 1.4.2 in Apple's website. Here is a copy of the steps:
  1. Open Terminal
  2. Type cd /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Libraries/; sudo java -Xdump and press Return.
  3. Type your password (you must be logged in as an administrator user) and press Return.
  4. Type cd /System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/; sudo java -Xdump:/System/Library/Frameworks/JavaVM.framework/Versions/1.3.1/Libraries/classes.jsa -version and press Return.
After this, Java is working correctly again on my machine. Hope this tip is useful to you.


______________________________________________

 
10.4: A fix for broken Java after XCode installation
4 comments | Create New Account
The following comments are owned by whoever posted them. macosxhints is not responsible for what they say

Mine works fine
Authored by: rom.ph on Fri, Apr 29 '05 at 09:29PM
I am not sure if it is the Java 5.0 PR1 release that fixed it since i have installed it but 1.4 is still the default Java version.

Anyway, works fine on my Tiger.

[ Reply to This ]

10.4: A fix for broken Java after XCode installation
Authored by: LC on Sun, May 1 '05 at 03:59PM
I don't know whether folks usually have the cwd (".") in their command path (I hope it comes last) ... but after using "cd" such as in this hint, I would be more comfortable executing "./java ..." as a general practice to avoid the other possibilities, during any operation where there are multiple versions on the same system.

[ Reply to This ]

From our Sponsor...

User Functions
User:
Password:
Don't have an account? Register as a new user

From our sponsors...


What's New: No hints this weekend
COMMENTS last 48 hrs
•   A couple of ways to find iDisk upload prog... [+4]
•   Another way to add iSync support for certa...
•   A fix for Checkpoint SecureClient under 10...
•   Mount DVDs as ISO images to resolve mounti...
•   Install free tools to possibly recover med... [+2]
•   Play multiple podcasts automatically on th... [+2]
•   Set up a Belkin wireless print server
•   >Set up a Belkin wireless print server
•   Create special single-click-to-launch Dock...
•   Add file references to anyone's Address Bo... [+3]
•   Browser Wars #7: Which browser is your cur... [+4]
•   10.4: Move swap files to another drive [+2]
•   10.4: Reconnect to Jabber transports in iChat
•   Create custom menu styles in Toast 7
•   iWork '06 - Nice improvements to Apple's '...
•   Use a D-Link DWL-G122 USB WiFi Dongle
•   10.3: Print from Windows XP to a shared Ma...
•   Open a specific man page section via URL
•   Re-record iTunes protected AAC music to MP3
•   iTunes 4.5 plays nice with Fast User Switc...
•   Possibly recover from a freeze without a r...
•   Chax - Add new features to iChat
•   10.4: Automatically accept video chats in ...
•   10.4: How to prevent single user mode logins

ACTIVITY Last 7 days
•  Feb 11
•  Feb 10
•  Feb 09
•  Feb 08
•  Feb 07
•  Feb 06
•  Feb 05
•  Search any date

LINKS last 2 wks
No recent new links

What's New in the
macosxhints.com Forums
•   Number of library songs different from ipo...
themachines04 10:47 pm
•   can i run .exe files?
nick101 10:15 pm
•   PB15 access to desktop iMac over the inter...
trevor 10:10 pm
•   mis handled file problems
trevor 9:29 pm
•   Carbon Copy Cloner--"space taken&quot...
NovaScotian 9:26 pm
•   Looking for automated way to define a list...
noneloud 9:22 pm
•   Changing iTunes filenaming convention
dpmccabe 9:18 pm

The Editor's Corner...
Here are some of my (robg) other projects...

•  The Robservatory
My blog - Macs, tech, etc.
•  Mac OS X Power Hound
The best of Hints in print
•  Inside iWork
An iWork training DVD
•  Macworld
Column, features, online...

Hints by Topic
 

News from Macworld
•   Macworld Podcasts: Macworld Podcast #28: Geeks at sea
•   Macworld Podcasts: Macworld Podcast #27: MacMania Cruise
•   Feature: Upgrading RAM: FAQs
•   Apple sells 12 million videos; Showtime added to iTunes
•   Apple offers 1GB iPod nano for $149
•   Inside Intel: Updated Lab Tests and Analysis

Vote
Browser Wars #7: Which browser is your current favorite?
Camino
DeskBrowse
Firefox
Flock
iCab
Internet Explorer
Mozilla
Netscape
OmniWeb
Opera
Safari
Sea Monkey
Shiira
Sunrise Browser
Other?
Results
7107 votes | 54 comments