J2sdk problem Javac command not found
I'm a real newbie and only got linux yesterday but I'm trying to write and compile some java in Kate. Oh by the way i m running fedora. When i try to run the javac or java commands they are not found...i downloaded and installed j2sdk and j2re and they are both in my usr/java folder but when using Kate they are not found how do i tell Kate how to find them?
|
i think i need to edit something in the .bashrc and i can findit using search but im not sure what to add could someone please give me a hand?
|
Well... kate is only a text editor so after saving something you should have a filename called x.java
Now... in a terminal, you could try doing: export PATH=$PATH:/usr/java/ javac x.java Now that is supposing the binaries are in the /usr/java/ folder... Default is /usr/local/j2.../bin/ I think. |
Thanx
Thanx so much that worked :D
|
All times are GMT -5. The time now is 06:38 PM. |