aspose file tools*
The moose likes Java in General and the fly likes Issues in porting java application from Windows to linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Issues in porting java application from Windows to linux" Watch "Issues in porting java application from Windows to linux" New topic
Author

Issues in porting java application from Windows to linux

Tausif Khanooni
Ranch Hand

Joined: Nov 14, 2002
Posts: 107
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!


"Walking on water and building IT Architecture from <br />specification are easy if and only if both are frozen"
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15300
    
    6

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.


GenRocket - Experts at Building Test Data
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
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


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Tausif Khanooni
Ranch Hand

Joined: Nov 14, 2002
Posts: 107
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
 
subject: Issues in porting java application from Windows to linux