JBuilder applet, adding class to jar

M

Martin

I have applet which uses classes like java.util.AbstractList,
java.awt.Point. Unfortunately MS VM doesnt support above(i got IO
exception, above classes not found) So i guess i have to add those
classes to my jar. No idea how to do it... Any help appreciated...
 
F

Franz Bayer

Set the classpath right.
This questions has been answered many times, so search for it in this
newsgroup.

/franz
 
A

Andrew Thompson

Set the classpath right.

"Don't top-post" *
<http://www.physci.org/codes/javafaq.jsp#netiquette>

"Read the question carefully before answering" *

The OP mentions
'..java.util.AbstractList, java.awt.Point.'

These are core classes, and you do not need
to set the classpath to the JRE in an applet.
You need to install the correct JRE verison,
or configure the UA to use it.

I go into further detail on the second post
that the OP made on this subject, just 35
minutes later. "JBuilder applet, Jar".

* Normally I take pains not to 'tell' anybody
to do anything, although I may harangue them
with requests to do so. ..I wanted you to hear
that tone back. ( And feel free to 'harangue'
me straight back, to your heart's content ;-)
 
F

Franz Bayer

Andrew Thompson said:
"Don't top-post" *
<http://www.physci.org/codes/javafaq.jsp#netiquette>

"Read the question carefully before answering" *

The OP mentions
'..java.util.AbstractList, java.awt.Point.'

These are core classes, and you do not need
to set the classpath to the JRE in an applet.
You need to install the correct JRE verison,
or configure the UA to use it.

I go into further detail on the second post
that the OP made on this subject, just 35
minutes later. "JBuilder applet, Jar".

* Normally I take pains not to 'tell' anybody
to do anything, although I may harangue them
with requests to do so. ..I wanted you to hear
that tone back. ( And feel free to 'harangue'
me straight back, to your heart's content ;-)

--
Andrew Thompson
http://www.PhySci.org/ Open-source software suite
http://www.PhySci.org/codes/ Web & IT Help
http://www.1point1C.org/ Science & Technology

Thanks for the link to the netiquette. Didn't know that.

I find it sometimes disturbing to read all that signatures.

But I cannot follow the thing about the jre-version. Cause if it cannot
found the Point-class, there is something else wrong.
Besides I don't think an IOException is thrown. So there is something else
very wrong.

/franz

PS: Who the * is still using MSVM? ;)
 
A

Andrew Thompson

I find it sometimes disturbing to read all that signatures.

...my signatures? the URL's and
comments after my name?

I do not quite follow.
But I cannot follow the thing about the jre-version. Cause if it cannot
found the Point-class, there is something else wrong.

Yes, that is *very* suspicious, I suspect the
OP is not quite reading the console right,
which is why I would like to see the URL,
and the Applet code.
Besides I don't think an IOException is thrown. So there is something else
very wrong.

Good point, but I think the available information
is ..mixed up somehow. I really think we need
to see the URL to make much progress on this one.
PS: Who the * is still using MSVM? ;)

I do not have figures, but if they *do*
have the MSVM, ..I will help them remove it.
<http://www.physci.org/jvmclean.jsp>
So, 'Less people every day' .. ;-)
 
M

Marcin Siewiera

I have applet which uses classes like java.util.AbstractList,
java.awt.Point. Unfortunately MS VM doesnt support above(i got IO
exception, above classes not found) So i guess i have to add those
classes to my jar. No idea how to do it... Any help appreciated...

im a java applet beginner. sorry for this banal questions. I made my
applet and tested it on JRE 1.2, now as i want it to be compatible
with most of browsers i tested it on MS VM(lots of people still use :(
) and it crashed. So now im changing all functions using i.e.
AbstractList to Object[] and so on. I just want to ask if its worth it
or should leave it in jre1.2 version cause MS VM is automatically in
most of people browsers. Is there a way to detect VM version and if
there is a need automatically install sun JRE1.2? I would really
apreciate further opinions.
 
A

Andrew Thompson

On 9 Sep 2004 10:15:49 -0700, Marcin Siewiera wrote:

Wow.. where do we begin, ..OK.
im a java applet beginner.

The best group for beginners is described here..
<http://www.physci.org/codes/javafaq.jsp#cljh>

Beginners are best to avoid applets.
..sorry for this banal questions. I made my
applet and tested it on JRE 1.2, now as i want it to be compatible
with most of browsers

Some browsers do not, and cannot ever, have Java.
[ I need to state that in case you have any illusions. ]
..i tested it on MS VM(lots of people still use :(
) and it crashed. So now im changing all functions using i.e.
AbstractList to Object[] and so on. I just want to ask if its worth it

What is it??

If it is a cute little graphics game, no.

If it is govenerment search database on
disabilities legislation, almost certainly.
or should leave it in jre1.2 version cause MS VM is automatically in
most of people browsers. Is there a way to detect VM version and if
there is a need automatically install sun JRE1.2?
Yes.

...I would really
apreciate further opinions.

I will help you all you need, but
please make a post on c.l.j.help.
 
A

Andrew Thompson

On 9 Sep 2004 10:15:49 -0700, Marcin Siewiera wrote:

I should have read the earlier posts more
carefully before I replied.

** Marcin, where is your URL? **

Before post on c.l.j.help, please put your
HTML (with call to applet and link to code)
up at GeoCities or such..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top