Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I run my java programs under windows 3.1

 
G Raghavan
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I didn't know that there was a JRE for 3.1. Where did you get your JRE?
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic