Looks good, I'd put a space between fi and PATH but that's just for eye pleasure, not anything more.
Anyway, cool. Now, you need to source the file so open up a terminal and type: source /etc/profile And that should be it. Now you should have java installed. Cool |
Hmmm after i was getting happy, this happened....
Code:
[root@localhost etc]# source /etc/profile |
I would simply ignore that for now...
|
So everything is cool?, i just run java by typing 'java'? and also in the java directory what is that install script for?
Garry :D |
Oh, i just remembered, that install script was from a .zip file in the java directory, i don't think it matters then....ok thanks alot MasterC!!!....just one more thing...what was thet stuff when i did a source /etc/profile
Garry :D |
Everything should be cool now yes.
What script? Post the conents of your /usr/local/bin/java directory, and also the contents of your /usr/local/bin/java/bin directory. Cool |
I believe it was setting variables for your terminal. Shouldn't matter as far as all this is going, and actually shouldn't matter overall, as it's just for things that are probably setup somewhere else.
|
Whoa, I never saw that src.zip file before, now I am curious. I unzipped elsewhere and am wondering what it's for. Looks like good stuff :confused:
If you find out, let me know, cause that looks important maybe but I haven't had any problems with java on my system :) Cool |
Geeeez, i love Linux but sometimes it pisses me off just trying to get programs to run...after all that time when i try running the program this prints:
Code:
[root@localhost JPhotoBrush]# java JPhotoBrush.jar Ok i can't show the contents of the folder...because ls or dir couldn't be found....heres proof...unless i'm typing them wrong lol... Code:
[root@localhost java]# ls |
Ok, so I just decided to unzip it in the java directory, it didn't mess with LimeWire, so I guess it didn't do any harm...
Hmm, I wonder if it's mentioned in the README or INSTALL files? Anyway, any luck? Cool |
logout of root and backin
And also source your bash_profile: source ~/.bash_profile Ok, so looks like you might need to specify it elsewhere, ok do this: echo $PATH If you don't see /usr/local/bin/java/bin Then our efforts above in /etc/profile didn't work. You will instead need to place that into your bash_profile (and now I am gun-shy, so post the contents of your bash_profile and your bashrc file so I know I am telling you the correct file) And you will also want to remove the entry we made in /etc/profile for java path. |
Ok ls works, now i just want to know why are we taking out the stuff from profile and now using the bash profile? Java is working i think...it's just that program? is it?
|
If java is working now, then that's cool. But no, from that error message it reads as java's problem, not the programs.
Now that ls is working, post the contents. Cool |
Oh and 1 more thing, to execute that file it's:
java -jar JPhotoBrush.jar Don't forget the -jar after java Cool |
Code:
[root@localhost java]# ls Code:
[root@localhost bin]# ls Garry |
All times are GMT -5. The time now is 06:55 AM. |