pallavi
pallavi

Reputation:

run a web project developed in Java run on both windows and Linux platform

I have a web project developed in java. I am using the Windows platform and accessing the project from the Windows machine itself. How can I make the project run on a Linux machine? I am using jboss server and deploying the project.

Regards

Upvotes: 0

Views: 798

Answers (4)

rayyildiz
rayyildiz

Reputation: 338

Java can run on many plarforms including linux and windows. You can develop project anywhere and run on any server.

I suggest you, install a linux on virtualbox and deploy it on linux directly. Also you can try cruise control for deploy automatically.

Upvotes: 0

Bhushan Bhangale
Bhushan Bhangale

Reputation: 10987

Java can run on many platforms only if any platform specific coding is not done for example file separator are different in windows, linux and Mac.

You need Jboss for linux and deploy your web application it should just work fine.

Upvotes: 0

Guillaume
Guillaume

Reputation: 18865

Java is Cross-Platform, MySQL also. You can have your application server running on one server and the database on another. You can even have your Appserver on Linux and your database on Windows and your client on MacOS.

If you run into any specific problem, please let us know, but everything should be transparent unless you wrote some very bad Java code ...

Upvotes: 4

Igor Zelaya
Igor Zelaya

Reputation: 4277

Java is a Cross-Platform language. Just deploy your JAR/WAR/EAR in a JBOSS running on a Linux Box.

Upvotes: 0

Related Questions