Please Help - Installing Soy Latte - Please Help

Discussion in 'Mac Programming' started by Marcus., Dec 8, 2010.

  1. Marcus. macrumors newbie

    Joined:
    Dec 8, 2010
    #1
    MY COMPUTER SPECS:
    32 bit processor
    2gb ram
    (other stuff kinda unnecessary, i just wanted to show that i don't have 32bit, therefore i can't just get the java update pushed to me by apple)

    Hello, I have a video provided:

    Watch the video. If you can't, here are my problems:

    my comp says .profile doesn't exist. I had to create it. it still says it's not there..

    i really need java...

    Just watch the video, it's less than 5 min and it'll help us both 10x as much

    http://www.youtube.com/watch?v=htgWngIGZJg

    (if it's still processing, it'll be hd in like 2 minutes :))


    if you need my teamviewer information, just ask.
     
  2. ulbador, Dec 8, 2010
    Last edited: Dec 8, 2010

    ulbador macrumors 68000

    ulbador

    Joined:
    Feb 11, 2010
    #2
    It's basically just a text file and you are dumping a path variable in there so you can type:

    javac MyFile.java

    instead of

    /opt/local/blah/blah/blah/jdk/bin/javac MyFile.java


    I would give you a one line command to create and edit the .profile file all in one, but I don't know where you have latte installed.

    If you PM me your TeamViewer info I can fix it in about 30 seconds.

    EDIT:

    Rereading your post. A .profile file will NOT display in the Finder. The period in front of the file name, basically denotes a hidden file. It will display in the Terminal. If you type:

    ls -al ~/.profile

    Code:
    daMac:~ adam$ ls -al ~/.profile
    -rw-r--r--  1 adam  staff  412 Jul  2 21:46 /Users/adam/.profile
    daMac:~ adam$ 
    
    Otherwise, a file that doesn't exist:
    
    daMac:~ adam$ ls -al ~/adamwashere
    ls: /Users/adam/adamwashere: No such file or directory
    daMac:~ adam$ 
    

    So basically if you repeat the instructions with "open /Applications/TextEdit.app ~/.profile" and you see your edits in there, you should be good to go.
     
  3. Marcus. thread starter macrumors newbie

    Joined:
    Dec 8, 2010
    #3
    location of latte:

    /Users/Owners/desktop/soy/bin


    that help?
     
  4. ulbador, Dec 8, 2010
    Last edited: Dec 8, 2010

    ulbador macrumors 68000

    ulbador

    Joined:
    Feb 11, 2010
    #4
    In terminal type:


    echo "export PATH=/Users/Owners/desktop/soy/bin:$PATH" > ~/.profile;
    echo "export JAVA_HOME=/Users/Owners/desktop/soy" >> ~/.profile;

    Quit and restart the terminal

    Type:

    javac --version

    And you should see something like:


    adamBook:~ adam$ javac -version
    javac 1.6.0_20

    That should mean you are ready to start compiling and running some Java
     
  5. Marcus. thread starter macrumors newbie

    Joined:
    Dec 8, 2010
    #5
    it worked!

    You seriously just solved my problems. How did you learn to do that? I hate being a leech. I'd rather help my self then help others.
     
  6. ulbador macrumors 68000

    ulbador

    Joined:
    Feb 11, 2010
    #6
    Just lots of experience. I've been using Linux since the 1.1 release of Slackware when CDROM.com was THE download site, and a professional SysAdmin since 2001. Your problem was nothing more than a very basic shell issue.
     
  7. peter tron macrumors newbie

    Joined:
    Feb 7, 2012
    Location:
    wye, ashford, kent, uk
    #7
    Hi ulbador/anyone that can help,

    I visited the Soylatte site and I downloaded this:

    32-bit OpenJDK 7 Beta 1 for Mac OS X 10.5 PowerPC (Beta Release):

    It is supposed to install Java 7 on a Mac 10.5 PPC, which is what I use.
    I only have JAVA 5 at the moment.

    1:
    Where would be a logical place to put the extracted folder ('applications'?)

    2:
    I have to create a PATH from my users folder to the place where the folder is sitting.
    Also, I have to create a .profile file.
    I have done this, but I have saved it to my desktop and it is hidden, due to having a full stop at the beginning of the filename.
    How do I get to see the file again, and where does it go?

    I very much need your help, being a novice and all..

    BR.

    Barry.
     
  8. peter tron macrumors newbie

    Joined:
    Feb 7, 2012
    Location:
    wye, ashford, kent, uk
  9. mossamedes macrumors newbie

    Joined:
    Mar 3, 2012
    #9
    Help meee

    Please can you give me the tutorial to put my Power MAC G5 with java 1.6?

    thanks
     

Share This Page