Search the web
Sign In
New User? Sign Up
macjava
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
JavaC question   Message List  
Reply | Forward Message #58 of 246 |
[macjava] Re: JavaC question


In a message dated 2/11/00 12:44:57 AM, DeanJudd@... writes:

> Microsoft Internet Explorer works but I prefer Netscape. I have the
>latest
>Netscape 4.7, from a CD installed.

I think a guy in Belfast Ireland was having problems and he sent me a request
for help which included your message.

I prefer Netscape too, but it does not use MRJ. It uses its own JVM (Java
Virtual Machine) However, Netscape's JVM should also work.

I'm thinking only Applets run using a browser. If you have writtin an
application instead of an Applet, you'll need to do something else. When I
write an application, I'm using CodeWarrior. When I write applets, I use the
SDK. I just checked the mail I thought I sent to him and apparently it went
to you instead.

The JDK was actually written to be used by computers which use a command
line. To run an application using such a computer, one would have to go to
the DOS prompt (eliminate the Windows window and go back to what looks like
PC- DOS before Windows was stolen and type in the command: java
MyJavaProgram

Each of the following 4 lines is a JDK command. The JDK way using command
lines is this:
edit // brings up the bland no frills editor. Type TheCode and save
as TheCode.java
javac TheCode.java // using the command javac to compile. Requires
path name etc.
java TheCode // causes the jdk to run the application: TheCode
actually runs TheCode.class
appletviewer TheCode.html // causes an applet to run

Well it just hit me. When running an applet using SDK (JDK), you must have
an html file. You run the applet by opening the html file. I think if you
open Netscape and then use the open file command to open the html file, you
should be able to run an applet. Let me try one of mine. I tried four
applets I wrote and they all work perfectly using Netscape Communicator 4.7.
The command is File:Open page in Navigator:MyCode.html

Let me know if you still can't get this to work.

Dr Dan



Fri Feb 11, 2000 5:00 am

DrDan71@...
Send Email Send Email

Forward
Message #58 of 246 |
Expand Messages Author Sort by Date

I am having some trouble with JavaC. I have MRJ2.1.4 and SDK 2.0 loaded on my G4 and I am trying to compile some java code. I double-click on the program JavaC...
lefty42@...
Send Email
Nov 6, 1999
4:44 pm

... First check in your extension folder to see if the MRJ (Mac Runtime for Java) Libraries folder, which should include a MRJClasses Folder, which (oops)...
B.Desthuillers
bdesth@...
Send Email
Nov 8, 1999
7:53 pm

Thanks Bruno! I ended up having to unzip those class files and then it worked. *shrug*...
lefty42@...
Send Email
Nov 15, 1999
1:00 am

Hi I cant use any of this sfuff coming over on my mac laptop, can you tell me how to get started please any one martin in belfast ... From:...
martin.binxie
martin.binxie@...
Send Email
Nov 9, 1999
8:46 am

martin.binxie a crit: Hi I cant use any of this sfuff coming over on my mac laptop, can you tell me how to get started please any one martin in belfast ... He,...
B.Desthuillers
bdesth@...
Send Email
Nov 9, 1999
9:05 pm

I am a mac user. I build web sites http://freespace.virgin.net/martin.binxie http://www.atlas.co.uk/binxiegraphicdesign/ http://www.binxie.com ...
martin.binxie
martin.binxie@...
Send Email
Nov 10, 1999
8:57 am

http://drrje.binxie.com/index.htm ... From: "martin.binxie" <martin.binxie@...> To: macjava@egroups.com Subject: Re: [macjava] Re: JavaC question Date:...
martin.binxie
martin.binxie@...
Send Email
Feb 10, 2000
7:56 pm

... Unfortunately, from your e-mail I can't discern your problem. So I shall speculate wildly: CAUTION: Before you download the newest and best. Delete all...
DrDan71@...
Send Email
Feb 11, 2000
12:08 am

HI Dan: I'm not sure why this was sent to me, although it may help the problem I am having; namely, the inability to run the simplest Java programs on my Mac...
DeanJudd@...
Send Email
Feb 11, 2000
12:32 am

... I think a guy in Belfast Ireland was having problems and he sent me a request for help which included your message. I prefer Netscape too, but it does not...
DrDan71@...
Send Email
Feb 11, 2000
4:56 am

... http://developer.apple.com/java/text/download.html#software...
DrDan71@...
Send Email
Feb 11, 2000
4:58 am

MRJ 2.2 is this a version that is comparable to PC versiion Java 1.2 ? tnx JP...
Peeters Jack
Jack.Peeters@...
Send Email
Feb 11, 2000
8:25 am

... MRJ 2.2 is the Java Virtual Machine for the Macintosh. MRJ stands for Macintosh Runtime Java. All of the version numbers for everything associated with...
DrDan71@...
Send Email
Feb 11, 2000
2:58 pm

Dear Dan, Many thanks for your efforts to get me using some form of Java (http://www.drrje.binxie.com/) although the language is beyond me. I have a niece in...
martin.binxie
martin.binxie@...
Send Email
Feb 11, 2000
8:01 pm

hi, Can anybody tell me where I can find the download page of MRJ 2.2 ? I also want the System Requirements and comparative Speed performance with the older...
KRM
k_rajaram@...
Send Email
Feb 12, 2000
4:09 am

... Get MRJ 2.2 AND MRJ SDK(Software Development Kit) at: http://developer.apple.com/java/text/download.html#software Look in the box in the upper left hand...
DrDan71@...
Send Email
Feb 12, 2000
6:11 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help