Link Details

Link 277657 thumbnail
User 212808 avatar

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?
  • 7
  • 3
  • 784
  • 331

Comments

Add your comment
User 187417 avatar

sproketboy replied ago:

0 votes Vote down Vote up Reply

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.

User 218789 avatar

eelmore replied ago:

0 votes Vote down Vote up Reply

In other news: Writing cross-platform software is more difficult than making assumptions about the runtime environment.

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (3)