File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Issues in porting java application from Windows to linux

 
Tausif Khanooni
Ranch Hand
Posts: 107
  • 0
  • Mark post as helpful
  • send pies
  • 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!
 
Gregg Bolinger
GenRocket Founder
Ranch Hand
Posts: 15302
6
Chrome IntelliJ IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
Barry Gaunt
Ranch Hand
Posts: 7729
  • 0
  • Mark post as helpful
  • send pies
  • 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
  • 0
  • Mark post as helpful
  • send pies
  • 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!
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic