This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes How do I run my java programs under windows 3.1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "How do I run my java programs under windows 3.1" Watch "How do I run my java programs under windows 3.1" New topic
Author

How do I run my java programs under windows 3.1

G Raghavan
Greenhorn

Joined: Aug 21, 2000
Posts: 15
Hi Friends,
I want to run a java program developed using JDK 1.2, under windows 3.1. Can you help me how this can be done.
Thanks for your suggestions


G Raghavan
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Escape to DOS. At the promt type
>java className
or
>javaw className (if you don't want that annoying DOS window)

Of course if you are cool, you create a .bat file that kicks off the java command, then you can make an icon that starts the .bat file to start your app.

"JavaRanch, where the deer and the Certified play" - David O'Meara
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I didn't know that there was a JRE for 3.1. Where did you get your JRE?
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Have Fun
http://java.sun.com/j2se/1.3/download-windows.html
And here is an explaination of how to use it:
http://java.sun.com/products/jdk/1.1.7B/jre/example/index.html
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I run my java programs under windows 3.1