wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes Can i shift JSP From Window to Unix Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Can i shift JSP From Window to Unix" Watch "Can i shift JSP From Window to Unix" New topic
Author

Can i shift JSP From Window to Unix

lou webster
Greenhorn

Joined: Jul 15, 2008
Posts: 1
If i take jsp program developed in window platform then i put it into unix server then it is runable or not?

development pc:
OS: window XP

server:
OS: solaris 10
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

Hi,

Welcome to JavaRanch!

Yes, it will be completely compatible, as long as you haven't done anything like hardcode a Windows path to a data file.


[Jess in Action][AskingGoodQuestions]
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

write once, run anywhere.


Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

I've been working like this for years: the developers use Windows XP machines, and the application is deployed on Linux or Solaris servers.

Java was designed to be platform-independent. A Java program runs on any operating system without modifications, as long as there's a JVM available on the operating system.

It is possible to do platform-specific things in Java, such as using Windows-style paths to files as Ernest mentions. If you do that in your program, it obviously doesn't work on non-Windows environments.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can i shift JSP From Window to Unix
 
Similar Threads
UNIX and Windows on the same machine!!
How to start Tomcat?
mysql memory .. OS X issues
EJB
Tomcat on Linux or BSD