Results 1 to 6 of 6
Hi guys, pls pardon me for asking this questions
This is my first time using linux,
I found that that is java on my suse sled. How do i use ...
- 11-25-2007 #1Linux Newbie
- Join Date
- Oct 2007
- Posts
- 117
Java on linux..
Hi guys, pls pardon me for asking this questions
This is my first time using linux,
I found that that is java on my suse sled. How do i use it? is it the same as windows where i type javac to run the class files on the windows using command prompt?
Thanks
- 11-25-2007 #2
Yes, its the same as Windows. One thing you need to watch out for is the version of java you are running. Some distros ship gcj which is an opensource implementation of java. From personal experience, its not as good as Sun Java, so you may have to install Sun Java if its not the version of java on your system. openSUSE includes Sun Java in its online repositories.
- 11-26-2007 #3Linux Newbie
- Join Date
- Oct 2007
- Posts
- 117
Hi,when i use java to connect to mysql database, i use a mysql-connector to connect to mysql. As for linux, is it the same as windows pls.. Requires the use of a connector?
If i need to use the connector in linux, where do i put the connector? i mean which directory to put? Thanks
- 11-26-2007 #4Linux Newbie
- Join Date
- Oct 2007
- Posts
- 117
Sorry btw, i new to linux.. I like to ask where is the java directory in sled? Or is there ant commands where i can locate the java folder in suse?
I'm still a noob therefore pls do forgive for asking such simple qns
- 11-26-2007 #5
I think its somewhere in /usr/lib/java. To be sure, enter
The versions of java installed will be listed. You can find out where it installs its files by doingCode:rpm -qa | grep -i java
Replace {SOME_VERSION} with the actual version printed when you get the output from the first command.Code:$rpm -ql java-{SOME_VERSION}
- 11-28-2007 #6Linux Newbie
- Join Date
- Oct 2007
- Posts
- 117
thanks for your advice


Reply With Quote