java classes in windows and linux
We've recently completed coding a series of java classes designed to download information from a datalogger. These classes connect to the datalogger using sockets, to an IP address on our network. This system was developed on a local machine running a Windows OS. Since transferring it to our linux-based server the classes seem unable to process the output of the datalogger. The systen can still connect to the same IP address but seems to be interpreting the output differently. I have run the classes on a linux-based PC and this produces the same dodgy results.
Has anyone experienced problems in moving java classes between operating systems? Can anyone suggest what might be going wrong?
Do the classes use any windows specific code?
That would be my suspicion - though I don't know which aspects of the code are Windows specific. The classes send command line-type instructions; rather than defining a recordset set like in SQL, it's more like vi editor for unix "go to record 24", "output 10 records" etc. These commands generally correspond to single ASCII characters
One area may be that we are hard-coding End Of Line markers and these may differ between different OS's?
By Gwen Smith in forum vb.announcements
Last Post: 07-21-2003, 03:17 PM
By Glen Kunene in forum Talk to the Editors
Last Post: 03-23-2002, 01:43 AM
By Kevin Moore in forum .NET
Last Post: 02-27-2002, 04:06 PM
Last Post: 11-26-2000, 03:08 PM
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center