Results 1 to 8 of 8
  1. #1
    DFuru is offline Member
    Join Date
    Dec 2011
    Posts
    4
    Rep Power
    0

    Default Java Runtime Environment Settings

    Let me preface this by saying I have been a Helpdesk Tech/Network Admin for 15 years. I have some programming background but not a lot so I am a noob on these kind of things so plesae be patient. That being said here is the problem I am running into. We are a home health care company and our biller logs into various medical insurance and Medicare/Medicaid sites. One of the sites will only work with Java Runtime Version 1.6.0_17, another one will only work with version 1.6.0_29. The problem is she was uninstalling and reinstalling her Java several time a week in order to get both sites to work. I have installed both versions on her machine and I am able to disable the update 29 through the Java control panel and the site that requires update 17 will work. After she is done with that site she is able to re-enable update 29. This is a lot better however it is a lot of steps. Since the update 17 site is a government website I have been denied when I requested that they update their website to be able to use the most current update. So that leaves my user wasting a lot of time configuring and un-configuring her machine. Can anyone give me some tips that I can use to minimize the amount of work the end user is putting in? Whether this is a batch file that she can click on to disable the newest and a second one to re-enable, or some other java guru trick. I would like the simpliest solution possible simply because this is for a user and she is very computer literate but way overworked and this is started to eat up a lot of her non-existent down time.

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

    Default Re: Java Runtime Environment Settings

    How are the java programs started for execution? Are the in jar files that you click on?
    I have several different versions of java on my system. I chose the one I want to execute by using a full path to the java.exe file that I want to use. You could write a batch file with the full path to the java.exe command followed by the options you are using to execute the jar files. The minimum needed is:
    C:\PATHTOFILE\bin\java.exe -jar <YOURJARFILENAMEHERE>.jar
    Another way is to create a short cut and put the path in it.

    Attached is a sample Properties window from one of my shortcuts.

    Here is the full text of the Target window:
    D:\Java\jre6_10\bin\java.exe -Xmx120M -cp %JAVA_RUN%\SlideShowApp.jar;DocumentViewerW.jar SlideShow.ImgIdxEditor -e bmp
    Attached Thumbnails Attached Thumbnails Java Runtime Environment Settings-properties.png  

  3. #3
    DFuru is offline Member
    Join Date
    Dec 2011
    Posts
    4
    Rep Power
    0

    Default Re: Java Runtime Environment Settings

    Sorry for not being more clear. These are not programs ran locally on the desktop, she goes to the agency's website, once there she can only navigate through the site correctly if she is using update 17 on one site and on the other it requires update 29 to be running. Currently the desktop has both versions loaded, she disables update 29 through the java control panel if she needs to get into the site requiring 17. When she is done she re-enables it since most web pages run fine with the most updated version. The one thing I did forget to mention, I appologize, is both sites require IE 7 or above, we can't use any other browser. So if there is a way to use the target to open IE using update 17 that would be very helpful. If not if there was a way to batch the disable/enable would work too. It works the way it is, but it is a band-aid fix to me and I would prefer a little cleaner way of doing it.

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

    Default Re: Java Runtime Environment Settings

    Are you talking about the java plugin to a browser?

    Good luck with IE. I don't use it myself.

  5. #5
    DFuru is offline Member
    Join Date
    Dec 2011
    Posts
    4
    Rep Power
    0

    Default Re: Java Runtime Environment Settings

    Yes, I wasn't aware that there was a difference, sorry for the confusion, Java is far from my forte.

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

    Default Re: Java Runtime Environment Settings

    There is some magic for me on how browser's get the java plugin. I used to copy dll files, now ???
    Perhaps there are some flags in the registry you could set.
    Another approach is a multi bootable system with different versions of java on each system. I've used that approach for test new versions of java before installing them on my "production" system.

  7. #7
    DFuru is offline Member
    Join Date
    Dec 2011
    Posts
    4
    Rep Power
    0

    Default Re: Java Runtime Environment Settings

    I looked into the registry flags, but the thought of having a user going into regedit multiple times a day or running a registry merge that many times would give me nightmares. I also toyed with the ID of having her RDP into a virtual workstation that was set with the 17 update, but that would take as much time to log into the other machine and fire up IE as it would just to disable the newest update manually. I am hoping that the one sight requiring the older update will just update their site in order to keep up with the rest of the world. I wasn't sure if there was some way of changing this through a more automated way. Again this is my own ignorance of how Java works but are the Java plugins not backwards compatable?

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

    Default Re: Java Runtime Environment Settings

    plugins not backwards compatable?
    I would think that a newer one would properly execute older code.
    What happens when the system's java version is update 29 and you access the site requiring update 17?
    Is it something as stupid as the site has a hard coded test for update 17 to prevent older versions from being a problem and not considering that younger sites would be ok???

    Buy her a second pc. Lefthand one for 17, righthand one for 29

Similar Threads

  1. Replies: 4
    Last Post: 09-25-2011, 03:21 PM
  2. Replies: 1
    Last Post: 07-05-2011, 03:27 AM
  3. Replies: 2
    Last Post: 02-03-2011, 04:27 AM
  4. A fatal error has been detected by the Java Runtime Environment:
    By jayanti kumari in forum Advanced Java
    Replies: 8
    Last Post: 08-16-2010, 07:31 AM
  5. Replies: 0
    Last Post: 06-18-2008, 12:46 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
  •