LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Java sdk and kylix (https://www.linuxquestions.org/questions/linux-general-1/java-sdk-and-kylix-74108/)

centosfan 07-19-2003 01:08 PM

Java sdk and kylix
 
When i was download sdk(42 mb)it just dont wanna start.I always get message "bad intrepreter,bin/sh".When i was read manual for kylix 3,there was written,"if you installing java you maybe should make file executable with command chmod +x.I was try,and well well its working!But,when i was install java in directory data/java/,nothing was started.I mean,it should run java when you type command "java".I was notice message in readme which i say i need to make a path to java in file .bashprofile.But i dont have that file.Anyway,how make path?Not just to java directory,any directory?And is it enough restart computer for working java?Beacuse in my experince some programs are start working only after restarting.Also i was download kylix2 (92 mb)plus registration mail.What need to do?When i type startdelphi i get this message:LC_ALL is set to POSIX. Can't start Kylix.Probaly need to register kylix with that mail attachmenat,but how?

centosfan 07-20-2003 08:21 AM

Anyone?

m9dhatter 07-23-2003 07:19 AM

when you run a terminal in linux, it usually starts out in you home directory. you wouldn't be able to see the .bash_profile file since it is hidden. ( if you didn't know already, files that start with a . ( dot ) are normally hidden )
to see if you actually have the file, try typing "ls -al" this will display all the files and dirs.

to make the path, try editing your .bash_profile or .bashrc either will do. if they are not there, create them. no harm in trying. :)
try placing

PATH=$PATH:/this/is/your/java/directory

this will add your java directory to the existing path.
to try if this works, try typing
#echo $PATH

hope this helps. :D


All times are GMT -5. The time now is 07:21 PM.