Results 1 to 5 of 5

Thread: A Problem with the JDK and javac

  1. #1
    mintsmike NNTP User

    Default A Problem with the JDK and javac

    Hello people:

    I am new to this forum so please be gentle !

    I have this problem. I can access the javac program while on the root user account (did a 'su - '), but I need all users of the computer to be able to use it. They can currently use the 'java' command but that was expected.

    Also, is there some way to access the root account at the login screen.

    Is there any way to do this?

    Thanks in advance for any help you can offer,
    mintsmike

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: A Problem with the JDK and javac

    I'm not familiar with the application or it's use. But as a user you can use 'su'. But whatever you do, don't even consider root login!
    SDB:Login as root - openSUSE
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,095
    Blog Entries
    15

    Default Re: A Problem with the JDK and javac

    Quote Originally Posted by caf4926
    I'm not familiar with the application or it's use. But as a user you can
    use 'su'. But whatever you do, don't even consider root login!_
    SDB:Login_as_root_-_openSUSE
    (\"http://en.opensuse.org/SDB:Login_as_root#Do_not_login_directly_as_root\")
    _
    Hi
    Further to caf4926, you can always use gnomesu, kdesu and xdg-su to
    start a root GUI application.

    I'm not familiar with the java app either, maybe an environment
    variable needs to be set? Else if push comes to shove, set the sticky
    bit.
    Code:
    chmod 4755 <path_to_app>/<app_name>
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.2 Milestone 2 (i586) Kernel 2.6.30-rc6-git3-4-default
    up 8:58, 2 users, load average: 0.42, 0.48, 0.29
    CPU VIA Esther processor 1000MHz GPU VIA CX700/VX700


  4. #4
    Camalen NNTP User

    Default Re: A Problem with the JDK and javac

    mintsmike wrote:

    > I have this problem. I can access the javac program while on the root
    > user account (did a 'su - '), but I need all users of the computer to be
    > able to use it. They can currently use the 'java' command but that was
    > expected.
    >
    > Also, is there some way to access the root account at the login
    > screen.
    >
    > Is there any way to do this?


    "sudo" (man sudo) should help.

    Just setup and configure it to allow users running javac :-)

    Gretings,

    --
    Camalen

  5. #5
    JosephKK NNTP User

    Default Re: A Problem with the JDK and javac

    On Sat, 06 Jun 2009 12:46:01 GMT, mintsmike
    <mintsmike@no-mx.forums.opensuse.org> wrote:

    >
    >Hello people:
    >
    >I am new to this forum so please be gentle !
    >
    >I have this problem. I can access the javac program while on the root
    >user account (did a 'su - '), but I need all users of the computer to be
    >able to use it. They can currently use the 'java' command but that was
    >expected.
    >
    >Also, is there some way to access the root account at the login
    >screen.
    >
    >Is there any way to do this?
    >
    >Thanks in advance for any help you can offer,
    >mintsmike


    Sometimes an application needs to be installed for each user. Example;
    wine works best on a per user basis.

Posting Permissions

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