Hi guber,
Yes, you should be able to run Java programs on it, supplied that you have the JDK to run them and that they are console programs.
MarsChelios
Hmm, I actually started with programs that were executed in the command window, ie DOS, and never left. I would be surprised if a VM wasn't available for DOS somewhere, as there are already 4 versions+ for embedded operating systems. If your booting off floppy, however, you may not be able to run the VM on the system. It's pretty much taken for granted these days that even if you have a 4.5 ounce computer, you have hard drive space.
Sorry I wasn't much help,
-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...)
That doesn't make sense though. You can go to a command line and compile and run java. In linux, you don't need XWindows to compile and run java. Mike Wills
IBM iSeries (AS/400) Programmer
Remember though that all MS Windows is just a GUI built on top of the DOS OS (XP billed as not being the case...??).
All that "java" is is just a bunch of files stored in the DOS FAT32 file system ... and all the 'javac' compiler and 'java' interpreter are just .exe programmes ... The JVM is just a means of compiling and interpreting java source code into executable native machine code ...
Without a hard drive though, there is no way that you can have enough space on the floppy to store the programmes and library files needed to execute compilation and interpretation of java source code - but in theory I guess if the machine was networked, and all programmes and files were stored on a networked machine, and the PATHS/CLASSPATHs were set up, then I guess you'd be OK ??!!
Pardon the badly written post above I was half awake at the time.
Ignore the "and never left" part of an overwritten sentance
The VM above is in alpha, but if there are problems with it I doubt it is the only one out there.
In your situation I would stick to a compiled to executable language like C or (ick) ASM that has a small footprint rather than an interpreted language that will need an interpreter and run exceedingly slow on a small system (even with JNI).
-Tarwn --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- --- ---
For my next trick I will pull a hat out of a rabbit (if you think thats bad you should see how the pigeon feels...)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.