×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Java applets

Java applets

Java applets

(OP)

Hi all.

I'm a bit new with java, so this might be a stupid question.

I just downloaded the Java 2 SDK 1.4. I have some old java files which I compiled with the new 1.4-version. They were originally done with the 1.0-version (probably). The new compiled classes doesn't without the "Use Java 2 v1.4" checked in my browser.

Is there a way to compile applets with the Java 2 SDK 1.4 so that you can run them without the that HUGE java console?

thanks, Kim

RE: Java applets

Hello Kim,

You might have found the answer somewhere else already, but I'll put it here for you in case you haven't found it yet.

When you use the javac compiler you need to target the version if you want the massive plug-in to disappear.  I had the same problem not too long ago myself.

I usually run the command as...

javac -target 1.1 (...+other options)

This will compile the code to the 1.1 version (which will work in some earlier browsers without the plug-in.  However, if you have created something new using methods from the JDK 1.2, 1.3, or 1.4, I do not think it will work.

Hope this helps,

Steve
--
http://www.sjesoft.com/

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources