Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Marcus.

macrumors newbie
Original poster
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.
 
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.

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.
 
Last edited:
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
 
Last edited:
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.
 
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.

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.
 
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.