 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
trend5 Guest
|
Posted: Fri Jul 23, 2004 2:17 pm Post subject: Online Compiler questions (http://javaboutique.internet.com/ |
|
|
if compare standard Java Compiler from Sun, installed on harddrive and
Online compiler service -
http://javaboutique.internet.com/compiler.html:
Could this online compiler create clear, correct .class files?
What mean Compile Options: -g, -O, -depend, -nowarn, -verbose,
-deprecation Which Compile Options I need set to create Java Applets?
Display file, Image file -what this options intended for?
|
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Fri Jul 23, 2004 5:52 pm Post subject: Re: Online Compiler questions (http://javaboutique.internet. |
|
|
On 23 Jul 2004 07:17:25 -0700, [email]korund (AT) hotmail (DOT) com[/email] (trend5) wrote or
quoted :
| Quote: | if compare standard Java Compiler from Sun, installed on harddrive and
Online compiler service -
http://javaboutique.internet.com/compiler.html:
Could this online compiler create clear, correct .class files?
What mean Compile Options: -g, -O, -depend, -nowarn, -verbose,
-deprecation Which Compile Options I need set to create Java Applets?
Display file, Image file -what this options intended for?
|
the url is http://javaboutique.internet.com/compiler.html
Be careful about appending punctuation that confuse the browsers.
I think they are just feeding your files to one of two of Sun's or
IBM's compilers.
Nearly always it would be better to download the JDK or Jikes and
compile it yourself. See http://mindprod.com/jgloss/jdk.html
http://mindprod.com/jgloss/jikes.html
The service would let you create java on a machine that had no Java
compiler, that was too small to support one, or at Microsoft where the
boss may not allow you to install Java.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
|
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Sat Jul 24, 2004 1:28 am Post subject: Re: Online Compiler questions (http://javaboutique.internet. |
|
|
On 23 Jul 2004 07:17:25 -0700, trend5 wrote:
If you need an on-line compiler, try the original
(and best).. <http://www.physci.org/javac.jsp>
I find it amazing they offer *only* 1.0.2 and 1.1.4
(both obsolete) whereas mine offers 1.1.4 for those
forced to work woth MS, as well as 1.1.8, 1.2.2,
1.3.1, and 1.4.2.
Of course, the on-line compiler is intended more
to test code for 'self contained' and provide
versioniing services. Roedy made a good point
about downloading your *own* version of the
current Sun compiler, which makes much more sense.
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
|
|
| Back to top |
|
 |
trend5 Guest
|
Posted: Sat Jul 24, 2004 6:33 pm Post subject: Re: Online Compiler questions (http://javaboutique.internet. |
|
|
From from Sun's Java Development Kit versions is smaller? I need small
tool for applet creation purpose only.
---------------------------
thanks
|
|
| Back to top |
|
 |
trend5 Guest
|
Posted: Sat Jul 24, 2004 7:38 pm Post subject: Re: still one Online Compiler +what compilation options? |
|
|
I find still one online java compiler:
http://www.innovation.ch/java/java_compile.html
I was wondering if someone could explain what's Compilation Options
recommends to use compile Java applets?(works on all browsers)
Thanks,
trend5
---------------------------------------------------
Andrew Thompson <SeeMySites (AT) www (DOT) invalid> wrote
| Quote: | On 23 Jul 2004 07:17:25 -0700, trend5 wrote:
if compare standard Java Compiler from Sun, installed on harddrive and
Online compiler service -
http://javaboutique.internet.com/compiler.html:
If you need an on-line compiler, try the original
(and best).. <http://www.physci.org/javac.jsp
I find it amazing they offer *only* 1.0.2 and 1.1.4
(both obsolete) whereas mine offers 1.1.4 for those
forced to work woth MS, as well as 1.1.8, 1.2.2,
1.3.1, and 1.4.2.
Of course, the on-line compiler is intended more
to test code for 'self contained' and provide
versioniing services. Roedy made a good point
about downloading your *own* version of the
current Sun compiler, which makes much more sense.
|
|
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Sat Jul 24, 2004 7:55 pm Post subject: Re: Online Compiler questions (http://javaboutique.internet. |
|
|
On 24 Jul 2004 11:33:19 -0700, [email]korund (AT) hotmail (DOT) com[/email] (trend5) wrote or
quoted :
| Quote: | From from Sun's Java Development Kit versions is smaller? I need small
tool for applet creation purpose only.
|
There is only one, see http://mindprod.com/jgloss/jdk.html
There might be a slightly smaller English-only version.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
|
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Sun Jul 25, 2004 4:03 am Post subject: Re: still one Online Compiler +what compilation options? |
|
|
On 24 Jul 2004 12:38:07 -0700, trend5 wrote:
Please do not..
a) change subject lines
b) top-post
<http://groups.google.com/groups?th=5c68fea1036a059a>
As I mentioned in an earlier post to you, there
is a much better one..
<http://www.physci.org/javac.jsp>
| Quote: | I was wondering if someone could explain what's Compilation Options
recommends to use compile Java applets?(works on all browsers)
|
Wrong, wrong, wrong!!!
Do you people not *read* the group, this has been
discussed to death several times over the last few
days.
CODING FOR 1.1 DOES NOT MEAN APPLET WILL WORK ALL BROWSER -
IT DOES NOT EVEN MEAN THE APPLET WILL WORK IN ALL *IE*.
(sheeesh!)
But to answser your question, see here..
<http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/javac.html#crosscomp-options>
You need a -target 1.1, with a -bootclasspath pointing
to an '1.1' version rt.ja
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
|
|
| Back to top |
|
 |
Tor Iver Wilhelmsen Guest
|
Posted: Sun Jul 25, 2004 8:39 am Post subject: Re: Online Compiler questions (http://javaboutique.internet. |
|
|
Roedy Green <look-on (AT) mindprod (DOT) com.invalid> writes:
| Quote: | There might be a slightly smaller English-only version.
|
Not of the JDK: The JDK includes the international JRE.
However, for applets, the small-ish JDK 1.1.8 could be what is needed.
|
|
| Back to top |
|
 |
trend5 Guest
|
Posted: Sun Jul 25, 2004 2:59 pm Post subject: Re: still one Online Compiler +what compilation options? |
|
|
Sorry, I asked my question incorrectly. What I need: I need that
Applet stable work on target browsers MSIE 5.0- 6.0 But if possible,
on latest Netscape also. No other versions required.
| Quote: | You need a -target 1.1, with a -bootclasspath pointing to an '1.1' version rt.ja
|
Will this options OK for this?
By the way, is there some class files online Archiver which can
archive CLASS files in .JAR online (similar as online compiler)
======================================
Andrew Thompson <SeeMySites (AT) www (DOT) invalid> wrote
|
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Sun Jul 25, 2004 3:12 pm Post subject: Re: still one Online Compiler +what compilation options? |
|
|
On 25 Jul 2004 07:59:18 -0700, trend5 wrote:
I gave the wrong link re top-posting,
have a look over this..
<http://www.physci.org/codes/javafaq.jsp#netiquette>
| Quote: | Sorry, I asked my question incorrectly. What I need: I need that
Applet stable work on target browsers MSIE 5.0- 6.0
|
If you compile for MSVM, your applet
will not not work on *ALL* IE.
IE comes now with NO java.
Many IE *had* Java but user removed it.
Many IE had Java but *sys admin* removed it.
Until you indicate you understand that
I cannot advise further.
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
|
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Sun Jul 25, 2004 5:17 pm Post subject: Re: still one Online Compiler +what compilation options? |
|
|
On Sun, 25 Jul 2004 15:12:00 GMT, Andrew Thompson
<SeeMySites (AT) www (DOT) invalid> wrote or quoted :
| Quote: | IE comes now with NO java.
Many IE *had* Java but user removed it.
Many IE had Java but *sys admin* removed it.
Until you indicate you understand that
I cannot advise further.
|
You know what he means. I suspect you would no more likely help him
get code working with the MS JVM than you would teach him how to shoot
up heroin.
It is a sort of treason to aid in that endeavor.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
|
|
| Back to top |
|
 |
Roedy Green Guest
|
Posted: Sun Jul 25, 2004 6:02 pm Post subject: Re: still one Online Compiler +what compilation options? |
|
|
On Sun, 25 Jul 2004 17:17:02 GMT, Roedy Green
<look-on (AT) mindprod (DOT) com.invalid> wrote or quoted :
| Quote: | Until you indicate you understand that
I cannot advise further.
You know what he means. I suspect you would no more likely help him
get code working with the MS JVM than you would teach him how to shoot
up heroin.
It is a sort of treason to aid in that endeavor.
|
The intent of MS Java JVM was to destroy Java by supporting only parts
of Java and doing the support they did in non-standard ways, in
violation of their contract.
If failed to kill Java that way, but it succeeded as a decoy, making
people think they had Java when they did not. The courts ruled that MS
Java is not Java. This gave Java Applets a bad name, and Applets have
been all but been abandoned from MS treachery.
It is therefore long past time we should treat the JVM as the trojan
horse it really is, and refuse to accommodate it.
The argument you can give your boss are that MS no longer ships it and
no longer allows you to get a copy. It is DEAD. I tell you this
parrot is dead.
To put this turkey to rest, perhaps some philanthropist could sue
someone for using it.
--
Canadian Mind Products, Roedy Green.
Coaching, problem solving, economical contract programming.
See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
|
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Sun Jul 25, 2004 6:02 pm Post subject: Re: still one Online Compiler +what compilation options? |
|
|
On Sun, 25 Jul 2004 17:17:02 GMT, Roedy Green wrote:
| Quote: | You know what he means.
|
No I do not Roedy. I suspect* I know what he means,
but I have been over this whole thing too many times
in the past 72hrs without checking prior to doing
it yet again.
| Quote: | ..I suspect you would no more likely help him
get code working with the MS JVM than you would teach him how to shoot
up heroin.
|
Wrong. There *are* good reasons to develop
code that will work on the MSVM.
The JavaVersionApplet and JTest are just two
applets I have written which would not be very
effective unless they worked on the MSVM.
[ And if you intend to shoot up heroin (which
is a very stupid thing that I *don't* recommend),
I would suggest you use a sharp, clean needle
that you remove from the sterile wrapper yourself. ]
| Quote: | It is a sort of treason to aid in that endeavor.
|
Probably, but if the OP convinced me they
had actual, rather than *perceived, need to
code for the MSVM, I would probably offer
whatever assistance I could.
* A lot of people are stuck in old ways and see '1.1'
as the 'runs everywhere' solution. It is not that
anymore, if it ever was.
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
|
|
| Back to top |
|
 |
Andrew Thompson Guest
|
Posted: Sun Jul 25, 2004 6:08 pm Post subject: Re: still one Online Compiler +what compilation options? |
|
|
On Sun, 25 Jul 2004 18:02:27 GMT, Roedy Green wrote:
| Quote: | The argument you can give your boss are that MS no longer ships it and
no longer allows you to get a copy.
|
Now that I can work with.
...'dunno about the OP. ;-)
--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology
|
|
| Back to top |
|
 |
thufir.hawat@mail.com Guest
|
Posted: Sun Jul 25, 2004 8:03 pm Post subject: Re: Online Compiler questions (http://javaboutique.internet. |
|
|
On Fri, 23 Jul 2004, Roedy Green wrote:
[..]
| Quote: | I think they are just feeding your files to one of two of Sun's or
IBM's compilers.
Nearly always it would be better to download the JDK or Jikes and
compile it yourself. See http://mindprod.com/jgloss/jdk.html
http://mindprod.com/jgloss/jikes.html
The service would let you create java on a machine that had no Java
compiler, that was too small to support one, or at Microsoft where the
boss may not allow you to install Java.
|
or you might not even have a computer to run the jdk on. in a sense this
goes to bandwith v cpu power, definitely a java issue. the conventional
wisdom, true in my case, is that most computers are total overkill. all
anyone *really* needs is an internet connection; since I pay my ISP for
that service, I might as well throw in a few bucks for some storage space
and access to their server to compile my java programs remotely. never
mind the cost of a bit of bandwith, the real shame is the untapped cpu
power on millions of desktops. where i work there are hundreds of modern
dell computers running windows that never do anything but telnet/ssh, it's
a shame.
i'd like to see a shift from that mindset of "download your own version"
to using a service over the net. if I were king for a day, we'd all be on
dumb GUI laptops with 802.11b/g. uh, one OS to rule them all: linux.
wasn't sun going to come out with all these "java computers" years ago,
internet appliances?
Thufir Hawat
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|