Results 1 to 11 of 11
  1. #1


    Member Since
    Aug 14, 2007
    Posts
    8
    Java - Help please!
    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?

  2. #2


    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    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?

  3. #3


    Member Since
    Aug 14, 2007
    Posts
    8
    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".

  4. #4


    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    So you do not see this?



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

  5. #5


    Member Since
    Aug 14, 2007
    Posts
    8
    In safari i see this...



    In terminal I get...


  6. #6


    Member Since
    Aug 14, 2007
    Posts
    8
    Any help?

  7. #7


    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    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


  8. #8


    Member Since
    Aug 14, 2007
    Posts
    8
    This is what I get....



  9. #9


    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    Looks like you have saved it as rich text format instead of plain text

  10. #10


    Member Since
    Dec 24, 2006
    Location
    N. Ireland
    Posts
    901
    Specs:
    Mac Pro 2xQuad core 2.8GHZ
    Did you get sorted??

  11. #11


    Member Since
    Aug 14, 2007
    Posts
    8
    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Java for Mac OS X 10.6 Update 17 latest java version?
    By Applet in forum OS X - Operating System
    Replies: 2
    Last Post: 09-12-2014, 03:07 AM
  2. Difference between Java and Java Script?
    By AliOop in forum OS X - Apps and Games
    Replies: 14
    Last Post: 02-25-2013, 09:42 AM
  3. From where should I disable Java (Java preferences or Safari?)
    By dacoolest in forum OS X - Operating System
    Replies: 10
    Last Post: 04-24-2012, 02:43 PM
  4. 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, 09:53 AM
  5. Java Problem! Java games freezing!!
    By L33t Walrus in forum Apple Desktops
    Replies: 1
    Last Post: 02-28-2010, 03:21 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
  •