I know that there are differences between Linux and Vista. I know that there are address issues from converting certain files between the two operating systems as well. I am currently working on a program that generates .ppm files in windows. Since the language the generator is written in is Java, and since java is platform independent, will my program run the same way in linux/windows/osx?
|
feedback
|
|
the only difference is the line-ending. if you read the specs of ppm http://netpbm.sourceforge.net/doc/ppm.html you will notice, that
in other words: it does not matter for your program | |||
|
feedback
|
|
I would think so. There's not so much difference in how Linux and Windows applications treat files, in fact only text files has different end of line sequence and most of Linux apps knows that and can parse files with wrong endings. So I think your program will run the same way and produce the same files. But having said that, it all depends on you, Java have ability to use native Windows API and if you would use it than all Java famous portability goes out of window. There's also a lot of other little things you can do not knowingly that will prevent Java running the same way across platforms so you'd better check how it actually runs on the platforms that are important to you. | |||
|
feedback
|