Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4597852
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:18:58+00:00 2026-05-21T23:18:58+00:00

I want to develop a cross platform application. Is Java cross platform? I mean,

  • 0

I want to develop a cross platform application.

Is Java cross platform? I mean, can I develop a Java application in Windows and use it in Mac OS X and Linux?

If yes, how?

I find application written in Java, has two setup file one for Windows and other for Mac. This confuses me.

Any illustration or suggestion will be highly appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:18:59+00:00Added an answer on May 21, 2026 at 11:18 pm

    Is Java a cross platform?

    Java is cross platform in the sense that a compiled Java program runs on all platforms for which there exists a JVM. (This holds for all major operating systems, including Windows, Mac OS and Linux.)

    I mean I can develop Java application in windows and use it in mac and Linux?

    Yes, this is possible.

    This (and the security aspect) is one of the main advantages of running the programs in a virtual machine.

    If yes how?

    • Write your application in Java (In .java files)
    • Compile your application using Eclipse or javac (into .class files)
    • (Optionally) Bundle your .class files in an executable (.jar file)

    The very same .jar file can be distributed and executed on Windows systems, Mac systems, etc.

    I find application written in Java, has two setup file one for windows and other for mac. This confuses me.

    This is because some applications rely on platform-specific features. They are then bundled with different platform-specific libraries.

    Unless you’re developing an application that itself relies on platform-specific features, (such as for instance low-level system calls), you should be able to do just fine with ordinary Java.

    Important comment by @Peter Lawrey:

    It can be while the application is platform independent, the setup program is not. e.g. IntelliJ has three platform specific installers which are not written in Java, but have a zip which you can just unzip on any platform and it will work.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to develop a windows application. If I use native C++ and MFC
I want to develop a mobile web application using asp.net 3.5 that can be
I want to develop Java apps, real quick, what IDE should I choose?
I want to develop simple Serverless LAN Chat program just for fun. How can
I want to develop an iPhone application using the utility template, where the flip
Imagine that you want to develop a non-trivial end-user desktop (not web) application in
I want to develop a very simple 2D game in Python. Pygame is the
I want to develop ASP.NET C# based MMOG (Massively multiplayer online game). I would
If you want to develop against WordPress (i.e., have a local instance running on
I want our team to develop against local instances of an Oracle database. With

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.