Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What are " Class " files

0 views
Skip to first unread message

Dain Anderson

unread,
Jul 5, 1998, 3:00:00 AM7/5/98
to Anton

Hello Anton,

What you are viewing is a "compiled" Java file. The original file would be
something.java which is then compiled into a something.class file. Naturally
the "class" file is in "language" very unuseable so that people don't "edit"
them for personal reasons (and copyright violations).

Note, however, that these are not JavaScript files, rather Java files--big
difference. You can "decompile" class files, but I will not condone, nor
help in that area. I have decompiled *many* class files for furthering my
Java education--nothing more.

Hope that helps,

Dain

Anton wrote:

> Hi All ; I have an java script file in zip code , when unzipping it's a
> "Class" file and can not open it with my html writer !...... what do i
> need to view this file ...it's all in binaries ...Thanks for any replies
> !!!.
>
> --
> Visit the Rock & Roll Castle http://home.ptd.net/~mustanga/castle1.htm
> Also the the castle links page http://home.ptd.net/~mustanga/anton.htm
> Midi juke box in the making http://home.ptd.net/~mustanga/juke.htm
> Frankie Valli & The Four Seasons Midi Page
> http://www.maxcafe.com/c/a/castle/season.htm


R Thompson

unread,
Jul 5, 1998, 3:00:00 AM7/5/98
to

Well first of all if it is a class file then it is not javascript it is
java(there is a diference). And to view and edit java is nothing like
javascript.
RT

Anton wrote in message <35A03E9F...@ptdprolog.net>...

Anton

unread,
Jul 6, 1998, 3:00:00 AM7/6/98
to

Anton

unread,
Jul 6, 1998, 3:00:00 AM7/6/98
to

Thanks for the replies ... I'm new to this and got this file from a java
freeware download page .... i mistakenly called it javascript .... although i
do know there's a difference ..... where can i find more about this ?........
Thanks Again for your help !!!.

R Thompson wrote:

> Well first of all if it is a class file then it is not javascript it is
> java(there is a diference). And to view and edit java is nothing like
> javascript.
> RT
>
> Anton wrote in message <35A03E9F...@ptdprolog.net>...

twh

unread,
Jul 6, 1998, 3:00:00 AM7/6/98
to

class files are the compiled java files. When you write a java source code
file (*.java) it is a plain text file. When it is compiled with some sort
of compiler (such as Sun's JDK), it becomes bytecode (the *.class file),
which is binary. Then this class file is finally compiled by your
computers just in time compiler (JIT). That is how java stays platform
independent (meaning it can be ran on any machine which has some sort of
java virtual machine).

I believe the JDK comes with a program called javah, which is supposed to
decompile class files. Does anyone else no for sure?

Anton <must...@ptdprolog.net> wrote in article

pony...@my-dejanews.com

unread,
Jul 7, 1998, 3:00:00 AM7/7/98
to

sounds like you have a java file and not a javaScript file. .class files are
the java code after it has been compiled. so what you have is an applet. try
using the TAGS <APPLET CODE="title.class"> </APPLET> goodluck ponyout In
article <35A03E9F...@ptdprolog.net>, Anton <must...@ptdprolog.net>
wrote:

>
> Hi All ; I have an java script file in zip code , when unzipping it's a
> "Class" file and can not open it with my html writer !...... what do i
> need to view this file ...it's all in binaries ...Thanks for any replies
> !!!.
>
> --
> Visit the Rock & Roll Castle http://home.ptd.net/~mustanga/castle1.htm
> Also the the castle links page http://home.ptd.net/~mustanga/anton.htm
> Midi juke box in the making http://home.ptd.net/~mustanga/juke.htm
> Frankie Valli & The Four Seasons Midi Page
> http://www.maxcafe.com/c/a/castle/season.htm
>
>


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum

0 new messages