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

OS 10.3 - Java - Help please!


Post Reply New Thread Subscribe

 
Thread Tools
leemarquis

 
Member Since: Aug 14, 2007
Posts: 8
leemarquis is on a distinguished road

leemarquis is offline
If anyone can offer help with regards to Java it would be much appreciated as I have been trying to use Ultimate Free (www.onefshop.com) but it simply doesnt work as I dont think my Java is correct/up to date.

I use a Mac (powerbook G4) with OS 10.3.9. If I try to test my java on the java.com website (using firefox) it just crashes so something must be wrong. If I test in IE it just doesnt work either.

Ive downloaded what I thought are all the latest java updates. Can any one help? Perhaps I need to completely remove java from my machine and reinstall it again? How would I do this?
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
By "your java" do you mean the Java run time environment or do you mean the full Java SDK

Does it work in Safari?
QUOTE Thanks
leemarquis

 
Member Since: Aug 14, 2007
Posts: 8
leemarquis is on a distinguished road

leemarquis is offline
Not sure what the difference is! If I go to http://www.java.com/en/download/help/testvm.xml in firefox it crashes. If I go to that page in safari it loads but I dont see "the dancing Duke logo image animated in the applet".
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
So you do not see this?



What do you get when you open a terminal window and type Java
QUOTE Thanks
leemarquis

 
Member Since: Aug 14, 2007
Posts: 8
leemarquis is on a distinguished road

leemarquis is offline
In safari i see this...



In terminal I get...

QUOTE Thanks
leemarquis

 
Member Since: Aug 14, 2007
Posts: 8
leemarquis is on a distinguished road

leemarquis is offline
Any help?
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
Looks like Java is installed but your browser is not setup properly for Java applets. Check that "enable Java" is ticked on the security tab of Safaris preferences.

To check java is working properly (outside of your browser) select and copy this short java program and save it in a plain text file called HelloWorld.java

Code:
import java.io.*;

public class HelloWorld {

	public static void main(String[] args){
		System.out.println("Hello world.");
	}
}
open up a terminal window and navigate to where you saved the file called HellowWorld.java

Compile the program by typing in

Code:
javac HelloWorld.java
Then run the java program with the following command

Code:
java HelloWorld
If all works properly you should see this in the terminal window

QUOTE Thanks
leemarquis

 
Member Since: Aug 14, 2007
Posts: 8
leemarquis is on a distinguished road

leemarquis is offline
This is what I get....


QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
Looks like you have saved it as rich text format instead of plain text
QUOTE Thanks
Del

 
Member Since: Dec 24, 2006
Location: N. Ireland
Posts: 901
Del has a spectacular aura about
Mac Specs: Mac Pro 2xQuad core 2.8GHZ

Del is offline
Did you get sorted??
QUOTE Thanks
leemarquis

 
Member Since: Aug 14, 2007
Posts: 8
leemarquis is on a distinguished road

leemarquis is offline
Thanks - I have since upgrading to Tiger and all is working fine now it seems - and I highly recommend Ultimate Free from onefshop.com for anyone looking to create a photogallery for selling prints.
QUOTE Thanks

Post Reply New Thread Subscribe


« Troblems with my icons | Ibook OS? »
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
weird java problem rerks OS X - Apps and Games 0 01-28-2007 05:59 AM
java question rerks OS X - Operating System 0 01-23-2007 03:05 AM
Java update 1.4.1 is out rman OS X - Operating System 1 04-30-2006 01:05 PM
Java From Terminal jdgti OS X - Development and Darwin 10 03-26-2005 07:16 PM
Apple Releases Java 1.4.1 Graphite Apple Rumors and Reports 5 03-10-2003 07:52 PM

All times are GMT -4. The time now is 11:48 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?