[5848] in java-interest
Re: Virtual machine
daemon@ATHENA.MIT.EDU (Youngjin Roh)
Thu Feb 29 05:34:17 1996
Date: Thu, 29 Feb 1996 03:44:44 -0500 (EST)
From: Youngjin Roh <yroh@gamera.syr.edu>
To: Augusto Jun Devegili <ajd@netville.com.br>
Cc: java-interest@java.sun.com
In-Reply-To: <199602290342.DAA10615@netville.com.br>
On Wed, 28 Feb 1996, Augusto Jun Devegili wrote:
> I've done some small applets with JDK 1.0 & Windows 95 & Netscape's
> Navigator. I'd like to begin building "applications", but I've read
> it's needed a virtual machine in order to run them under Windows 95.
> Can someone give me some help on what's a virtual machine and how can
> I put it to work? URLs containing such information are also welcome.
>
> Thanks in advance,
>
> Augusto
> -
> This message was sent to the java-interest mailing list
> Info: send 'help' to java-interest-request@java.sun.com
>
Hi, Augusto
The Applets you have used is compiled on a machine (doesn't matter
which platform.) into BYTE-CODE. The BYTE-CODE will be run in Netscape V2.0
no matter what platform it is (Netscape runs on Mac, Unix, Windows,
Windows95, right?) So Netscape is one of the virtual machine(as is).
You program JAVA code and compile it using "javac", then javac will
generate "source_file_name.class". "xxx.class" is the BYTE-CODE. so you
can run your program on Netscape and verify it. As the either way, you can
use "java.exe(com?)" to run your BYTE-CODE. "java xxx.class" will work.
If your java code is applet, you can use "appletviewer" to see your
applet working. (Windows version's appletviewer must be shorter name
[apltvwer.exe ?])
"java" and "appletviewer" are another virtual machine.
All of them are in the SDK.
Good luck and let me know you have question. (Actually I am learning
java either... :-) )
================================================================
This message was brought to you by Youngjin Roh
----------------------------------------------------------------
Youngjin Roh | yroh@gamera.syr.edu, yroh@rodan.syr.edu
(315) 492-9282 | yroh@hydra.syr.edu, yroh@forbin.syr.edu
211 Lafayette rd. | emacro@chollian.dacom.co.kr, yroh@onKIDS
#600, Syracuse, | yroh in other BBSs.
NY 13205, USA | LOOK FOR IT IN A NEIGHBORHOOD NEAR YOU!
----------------------------------------------------------------
Page me! --> 242-4634
----------------------------------------------------------------
I'm building my WWW. Try "http://web.syr.edu/~yroh"
----------------------------------------------------------------
Computer Engineering, Grad., Syracuse University
================================================================
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com