Java - Help please!

Joined
Aug 14, 2007
Messages
8
Reaction score
0
Points
1
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?
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
By "your java" do you mean the Java run time environment or do you mean the full Java SDK

Does it work in Safari?
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
So you do not see this?

picture1xu3.png


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

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
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

picture2ic7.png
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
Looks like you have saved it as rich text format instead of plain text
 

Del


Joined
Dec 24, 2006
Messages
901
Reaction score
15
Points
18
Location
N. Ireland
Your Mac's Specs
Mac Pro 2xQuad core 2.8GHZ
Did you get sorted??
 
OP
L
Joined
Aug 14, 2007
Messages
8
Reaction score
0
Points
1
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.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top