• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Issues in porting java application from Windows to linux

 
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey!! can any one help me out to give a list of issues involved in porting the java application (awt, swing & simple java application) from windows os to linux...
Thnx dude!
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you coded your application correctly, there shouldn't be any issues. Maybe classpath, but that is not really part of the application. Hence, the Write Once Run Anywhere (WORA) nature of JAVA.
 
Ranch Hand
Posts: 7729
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Watch out for your "hardcoded" (if any) path separators ( ";" -> ":" ) or directory separators ( "\" -> "/" ). Do it the right way by using the features of the File class.
-Barry
 
Tausif Khanooni
Ranch Hand
Posts: 107
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
thnks for the prompt reply.. but just take the worst case. in case the programmer has written poor codes.. like "\" hard coded. and awt look and feel will b diff in both os i guess..
can u plz list all possiblities keeping mind the worst programming practices?
and what about the batch files and shell scripts??
Regards!
 
reply
    Bookmark Topic Watch Topic
  • New Topic