A problem with appletviewer

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
Kanafas
Posts: 2
Joined: Fri Jan 20, 2006 10:03 am

A problem with appletviewer

Post by Kanafas »

Hi i can compile my .java document but i cant run the appletviewer, im using winxp an ill have installed the jdk 1.5.something

can u help me???
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Could you please give less details about your problem?

You do not really expect a helpful answer?
Your posting is like "Hey, doctor, I am ill, please cure me".
Kanafas
Posts: 2
Joined: Fri Jan 20, 2006 10:03 am

Post by Kanafas »

Sorry my english is not to good...

i can compile mi java file n get the class file, n i use to run with Ctrl+3 n apear the applet, n now i cant do that.

when i install java 1.5_06 i couldnt do anything, even compile n get the class file, i find the javac, java n appletviewer commands n put the new link in textpad configuration, but i cant run the applets.

did i explian???
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Possibly.

It has been the experience here that when Java does not work perfectly within TextPad, the best course of action is to remove the Java tools within TextPad (Alt+Configure, Preferences, Tools) and then readd them. An alternative is to uninstall Textpad and re-install after Java has been installed and it will pick up the available java tools.

If you do not wish to do that, then please list the parameters used for your run java applet command.

And of course, the applet is viewable via the command line, correct? Many times people blame TextPad for things not working when the code itself is the faulty element.
I choose to fight with a sack of angry cats.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Kanafas wrote:did i explian???
No, you did not give any relevant information.

"can't run" is not enough.

What exactly happens when you try to run the applet?
Which error messages do you get?
Is your class an applet or is it an application?
Post Reply