Find the answer to your Linux question:
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 ...
  1. #1
    Linux 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

  2. #2
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    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.

  3. #3
    Linux 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

  4. #4
    Linux 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

  5. #5
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,344
    I think its somewhere in /usr/lib/java. To be sure, enter
    Code:
    rpm -qa | grep -i java
    The versions of java installed will be listed. You can find out where it installs its files by doing
    Code:
    $rpm -ql java-{SOME_VERSION}
    Replace {SOME_VERSION} with the actual version printed when you get the output from the first command.

  6. #6
    Linux Newbie
    Join Date
    Oct 2007
    Posts
    117
    thanks for your advice

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...