-
java classes in windows and linux
Hi there,
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?
dave
-
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?
Similar Threads
-
By Gwen Smith in forum vb.announcements
Replies: 0
Last Post: 07-21-2003, 02:17 PM
-
By Glen Kunene in forum Talk to the Editors
Replies: 17
Last Post: 03-23-2002, 12:43 AM
-
By Kevin Moore in forum .NET
Replies: 55
Last Post: 02-27-2002, 03:06 PM
-
Replies: 3
Last Post: 11-26-2000, 02:08 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
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks