Results 1 to 4 of 4
Like Tree2Likes
  • 1 Post By jim829
  • 1 Post By kjkrum

Thread: Java programs run under one user but not another

  1. #1
    ccharity is offline Member
    Join Date
    Apr 2013
    Posts
    1
    Rep Power
    0

    Default Java programs run under one user but not another

    I have two programs that use Java that our Police dispatchers use... First, one will only install using 1.5.10 ...
    The other wants the latest to install.... So I load 1.5.10, install the one program, install 1.7 (the latest) and
    install the second program... Finally get everything to work.... log on as another user and nothing works.... If, I tweak
    this user and get it to work, the first one no longer works.... What am I missing??? I'm SO frustrated........

  2. #2
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    3,526
    Rep Power
    5

    Default Re: Java programs run under one user but not another

    Normally, one would expect most JRE's to be backward compatible with programs written under older versions of Java. That is to say Java applications should run on a version of Java no older than some version X because some capability may be missing. I am not really certain how to help you but what I would do if I had this problem is remove all of my versions of Java and then install the latest one. I would then carefully follow all the instructions for whatever OS you are using. Make certain the environment variables are set correctly. For situations like Windows I would ensure that it is installed for all users.

    You can check your current version as follows. Assuming Windows OS, get a MSDOS command line prompt and type
    java -version and note the version. Try this under different user accounts.

    Regards,
    Jim
    pbrockway2 likes this.
    The Java™ Tutorial | SSCCE | Java Naming Conventions
    Poor planning our your part does not constitute an emergency on my part.

  3. #3
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,326
    Rep Power
    25

    Default Re: Java programs run under one user but not another

    What OS are you on? What privileges does each user have? Are they the same for the users involved.
    What did you do to "tweak" a user's account so it would work?
    If you don't understand my response, don't ignore it, ask a question.

  4. #4
    kjkrum's Avatar
    kjkrum is offline Senior Member
    Join Date
    Apr 2011
    Location
    Tucson, AZ
    Posts
    1,060
    Rep Power
    6

    Default Re: Java programs run under one user but not another

    When the first one "no longer works", do you get an error message? Post it in its entirety.
    Tolls likes this.
    Get in the habit of using standard Java naming conventions!

Similar Threads

  1. Run Java Programs
    By StevenR in forum New To Java
    Replies: 2
    Last Post: 02-20-2013, 09:33 AM
  2. Java Network Programs
    By sixxvirus in forum New To Java
    Replies: 5
    Last Post: 03-04-2012, 08:00 AM
  3. Combining two java programs..
    By saber210 in forum New To Java
    Replies: 1
    Last Post: 08-16-2011, 02:14 PM
  4. How to make 11 java programs into one.
    By decgaid06 in forum New To Java
    Replies: 6
    Last Post: 03-29-2011, 06:23 PM
  5. How to pass user-id between .java programs
    By mkkrish in forum AWT / Swing
    Replies: 4
    Last Post: 12-22-2009, 04:30 PM

Posting Permissions

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