Results 1 to 11 of 11

Thread: Java in DOS

  1. #1

    Thread Starter
    Addicted Member Stephenb's Avatar
    Join Date
    Nov 2000
    Location
    Phoenix, Arizona.
    Posts
    172

    Java in DOS

    My background in Java is limited. But what all do I need on a dos box to ensure that it a Java application will run? I'm not needing swing or AWT, just text only output.
    (Dos 6.22 is the target OS)

    Thanks for any help you can offer.
    Stephen Boston
    Onward!
    VB6 Pro SP4, VBScript
    A+ Certified Techncian.
    No matter where you go, there you are.

  2. #2
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    Java console apps run fine in DOS Stephen you shouldn't have any problems.

  3. #3

    Thread Starter
    Addicted Member Stephenb's Avatar
    Join Date
    Nov 2000
    Location
    Phoenix, Arizona.
    Posts
    172
    Do I need a specfic run time for DOS? Windows will not be installed on this machine.
    Stephen Boston
    Onward!
    VB6 Pro SP4, VBScript
    A+ Certified Techncian.
    No matter where you go, there you are.

  4. #4
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    Hmm, sorry missed the target OS part, makes the question a little more interesting. I haven't tried running an app on just a DOS box. I don't forsee having a problem, but since I haven't done it, you can take that for what its worth. Let me check with a couple people and some other resources quick.

  5. #5
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    Sorry if you are using Java 2, the supported platforms are as follows, directly from Sun:

    Sun provides ports of the Java 2 Platform for Windows 95, Windows 98, Windows NT, Windows 2000, Solaris-SPARC, Solaris-Intel, and Linux.

    here are some sites that lists some information about supported platforms and companies offering ports of the jdk...
    http://java.sun.com/products/jdk/faq.html#A2
    http://java.sun.com/cgi-bin/java-ports.cgi

  6. #6
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    Is there a reason the box needs to be a DOS box?

  7. #7

    Thread Starter
    Addicted Member Stephenb's Avatar
    Join Date
    Nov 2000
    Location
    Phoenix, Arizona.
    Posts
    172
    Thanks for your help, bill.
    Its how the issue is handed to me. I have a VB app that does the function that is desired, but they want it on a DOS box. Thus my delima. (no windows, no vb runtime)

    So I thought I could create the same app in Java, but I was running into the same thing you found. No Java for Dos listed on Sun's site.

    I'll check out those other sites and cross my fingers.
    Or perhaps I'll turn the tables and suggest that they put up a Linux box. (That will make them pause. )

    Again, thanks for your help.

    billrogers =
    Stephen Boston
    Onward!
    VB6 Pro SP4, VBScript
    A+ Certified Techncian.
    No matter where you go, there you are.

  8. #8
    Hyperactive Member
    Join Date
    May 2000
    Posts
    367
    LOL, yeah putting up a linux box will definately give them pause. Tell them DOS is outdated and not supported anymore, keep with windows and stick with the vb app if speed isn't important. But if it was I wouldn't suggest using Java. Glad to be of help, if you do find out something that lets DOS be a target OS let me know, the more ya know the better.

  9. #9

    Thread Starter
    Addicted Member Stephenb's Avatar
    Join Date
    Nov 2000
    Location
    Phoenix, Arizona.
    Posts
    172
    Will do, Bill.
    Thanks again!
    Stephen Boston
    Onward!
    VB6 Pro SP4, VBScript
    A+ Certified Techncian.
    No matter where you go, there you are.

  10. #10
    Addicted Member Mrs Kensington's Avatar
    Join Date
    Sep 2001
    Location
    Dorset, UK
    Posts
    144
    using the wonder that is google i found this...

    http://www.openje.org/kaffepc/

    on there site it says..
    What's KaffePC?
    KaffePC is JVM that running on DOS.

    Thinks thats pretty much what you needed...

    **EDIT**
    Only problem is its in beta and hasn't been updated since april 1999, oh and its JDK 1.1

    Apart from that its java in dos
    Ford? Theres an infinite number of monkeys outside that want to talk to you about a script of hamlet they've produced!

  11. #11

    Thread Starter
    Addicted Member Stephenb's Avatar
    Join Date
    Nov 2000
    Location
    Phoenix, Arizona.
    Posts
    172
    Hey! Thanks Mrs Kensington. This may be just what I need.
    I'll let you you guys know how it goes.

    Thank again!

    and..
    Mrs Kensington =
    Stephen Boston
    Onward!
    VB6 Pro SP4, VBScript
    A+ Certified Techncian.
    No matter where you go, there you are.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width