• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Tim Cooke
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
Saloon Keepers:
  • Piet Souris
Bartenders:

Java In General

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
In which language is the JVM coded.?
Is Java really a platform Independent Language..?
Does it work on Disk Operating System(DOS).?
How to install JVM in Disk Operating System(DOS).?



Regards,
Rahul Chandran.
 
Bartender
Posts: 1561
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rahul Chandran wrote:Hi,
In which language is the JVM coded.?


I don't think that this is specified.


Is Java really a platform Independent Language..?


This is not entirely true as far as I know, but (again, as far as I know), it's as close as it gets.


Does it work on Disk Operating System(DOS).?
How to install JVM in Disk Operating System(DOS).?


You mean MS-DOS, independent of Windows? Is this still around? Is it still supported?
 
Rahul Chandran
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

pete stein :
This is not entirely true as far as I know, but (again, as far as I know), it's as close as it gets.



Can You Tell Me The Reason Please..?
 
Bartender
Posts: 5167
11
Netbeans IDE Opera Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is Java really a platform Independent Language?
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rahul Chandran wrote:In which language is the JVM coded.?


Sun's (now Oracle's) JVM is written in C (or maybe C++) and Java. But Oracle's JVM is not the only one - other companies, for example IBM and HP, have their own JVM implementations (optimized for their servers). The code for those implementations is not open source, so nobody outside those companies really knows in what language they are written, but it's probably C or C++, since those languages are used almost everywhere for system software.

Rahul Chandran wrote:Is Java really a platform Independent Language..?


It was designed to not be dependent on platform-specific features, but you can write platform-specific Java programs (i.e., Java programs that will only work on for example Windows).

Rahul Chandran wrote:Does it work on Disk Operating System(DOS).?
How to install JVM in Disk Operating System(DOS).?


Oracle's standard JVM will not work on MS-DOS. Do you really have a computer that runs only on MS-DOS?

I found this, but this is just a kind of fun project and this is not what you want to use if you're serious about learning Java: "leDos is a tiny Java virtual machine and a set of development tools intended to allow you to develop and run Java applications on a MS-DOS system with 8088 and at least 128 KB of RAM".

You can find a list of what operating systems are supported by the standard version of Java here: Java SE 6 - Supported System Configurations.
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

You can find a list of what operating systems are supported by the standard version of Java here: Java SE 6 - Supported System Configurations.


"Standard" in this context meaning "released by Oracle". #6 in the JavaBeginnersFaq lists some implementations of Java (or Java-ish software) by other vendors/entities.
 
Rahul Chandran
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Jesper Young wrote :
It was designed to not be dependent on platform-specific features, but you can write platform-specific Java programs (i.e., Java programs that will only work on for example Windows).


can you tell more about that...!! please..!
 
lowercase baba
Posts: 13091
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if you use something like Runtime.exec() to call the Notepad.exe, that clearly wont' work on a Unix box.
 
Bartender
Posts: 2662
19
Netbeans IDE C++ Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rahul Chandran wrote:

Jesper Young wrote :
It was designed to not be dependent on platform-specific features, but you can write platform-specific Java programs (i.e., Java programs that will only work on for example Windows).


can you tell more about that...!! please..!

Some examples:
Code that calls Windows native APIs via the JNI Java API.
Applications that hardcode some platform dependencies, like using a backslash as separator, in stead of using Java's built-in mechanism to retrieve the proper separator.
 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can vaguely remember back in the early days of Java, that Netscape announced a plan to create a JVM that would run on 16-bit DOS machines in conjunction with Netscape running under Windows 3. They thought that supporting all that legacy hardware would give them a competitive advantage, but they totally miscalculated how quickly the hardware was changing. I'm not sure if that blunder was more a symptom or one of causes of Netscape's downfall.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic