By donbonifacio
via psantos-blog.zi-yu.com
Published: Nov 02 2009 / 08:56
What makes a Java application cross-platform? Will a Java application be cross-platform if use reference resources like: c:\MyApp\MyApp.ini? And if we have a file named MyApp.ini and get it like getResource(”myapp.ini”)? And if we use specific operating system resources?
Comments
sproketboy replied ago:
Stupid argument.
Mono is cross platform only to the same degree like python is. There are implementations but no real standard way to ensure cross platform like in Java.
The example is not so useful. In Java you reference files through a resource URL using application relative paths so there’s no need reference C: drive or anything like that.
eelmore replied ago:
In other news: Writing cross-platform software is more difficult than making assumptions about the runtime environment.
Voters For This Link (7)
Voters Against This Link (3)