Author Topic: Java Updates  (Read 17676 times)

ccdubs

  • Full Member
  • Posts: 116
    • View Profile
Java Updates
« on: May 11, 2008, 05:57:08 PM »
Hi all,

A couple of months ago I installed all the java updates but then couldn't get TLServer to start. When I uninstalled Java and reinstalled the version on the TriLogi disk, all was OK again.

Should I be installing Java updates as they come through?

Thanks

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3176
    • View Profile
    • Internet Programmable PLCs
Re:Java Updates
« Reply #1 on: May 12, 2008, 11:03:58 AM »
It is best to turn off Java automatic updates and stay with version 1.4.2 which is the most stable version for use with the TRiLOGI software.

Each time Java does an update it creates a new folder and a DLL file that TRiLOGI depends on for serial comm is not installed. You could reinstall TRiLOGI so that it will install the DLL into the new updated JRE and TLServer would run again.

Email: support@triplc.com
Tel: 1-877-TRI-PLCS

ccdubs

  • Full Member
  • Posts: 116
    • View Profile
Re:Java Updates
« Reply #2 on: May 12, 2008, 01:45:37 PM »
I don't want to dwell on this too much but when TL server no longer worked I did just as you said and reinstalled TriLogi a couple of times and the problem was the same.

The only way to fix it was to uninstall Java and reinstall 1.4.2.

My concern is with other applications that may require more recent java.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3176
    • View Profile
    • Internet Programmable PLCs
Re:Java Updates
« Reply #3 on: May 12, 2008, 05:17:53 PM »
That's strange. What was the version of Java that was giving trouble? What is your version of TRiLOGI or TLServer?

Remember that the installation sequence is important. TRiLOGI should only be installed AFTER the JRE has been installed.

One way to avoid re-installing TRILOGI is to run the program instserial2007.exe that is located in the folder:

C:\TRiLOGI\TL6\java lib

This is the program the TRiLOGI setup program called to install the serial driver DLL file. So you could run this program again to search for the most recently installed JRE and place a copy of the serial I/o DLL file there.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

FQ-ONG

  • Jr. Member
  • Posts: 61
    • View Profile
Re:Java Updates
« Reply #4 on: May 13, 2008, 04:39:21 AM »
Have Java 1.6 tested?  ::)

ccdubs

  • Full Member
  • Posts: 116
    • View Profile
Re:Java Updates
« Reply #5 on: May 13, 2008, 06:23:56 PM »
I'm not sure which version of java it was but I just upgraded to 1.6.0.50 and TLServer wouldn't start.

I ran the exe like you suggested and everything seems to be back to normal.

Can't this exe be run everytime TLServer is started?

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3176
    • View Profile
    • Internet Programmable PLCs
Re:Java Updates
« Reply #6 on: May 13, 2008, 11:20:39 PM »
You only need to run the instserialio2007.exe file once and it will install the serial driver. The next time you start TLServer you don't need to run this file again.

We have not tested Java JRE 1.6 yet. JRE 1.5 works but text highlight that was used for highlighting syntax error and search result no longer work under JRE 1.5.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

FQ-ONG

  • Jr. Member
  • Posts: 61
    • View Profile
Re:Java Updates
« Reply #7 on: May 14, 2008, 04:51:36 AM »
With JRE 1.4.2, I found that TRiLOGI 6.13 didn't highlight the search result like TRiLOGI 5.33.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3176
    • View Profile
    • Internet Programmable PLCs
Re:Java Updates
« Reply #8 on: May 14, 2008, 11:41:57 AM »
I have TRiLOGI version 6.13 and JRE 1.4.2 installed on my Windows Vista PC. I did a search and saw the highlight.

Check you Java version by going to DOS prompt and enter:

   java -version

and see if it reports JRE 1.4.2
Email: support@triplc.com
Tel: 1-877-TRI-PLCS

ccdubs

  • Full Member
  • Posts: 116
    • View Profile
Re:Java Updates
« Reply #9 on: May 18, 2008, 02:12:54 PM »
Hi Support,

When I referred to running the exe every time TL Server was started I was suggesting a way that you could avoid complications for users (like me) who upgrade Java and then have problems.

I don't believe (and may be wrong) that the help you suggested is documented anywhere except this forum.

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3176
    • View Profile
    • Internet Programmable PLCs
Re:Java Updates
« Reply #10 on: May 20, 2008, 03:39:50 PM »
Thank you for the suggestion. In future we will see how we can catch the exception of not finding the serialio driver and automatically install the serial driver when that happens.
Email: support@triplc.com
Tel: 1-877-TRI-PLCS