Results 1 to 2 of 2
- 02-02-2013, 02:25 AM #1
Member
- Join Date
- Feb 2013
- Posts
- 4
- Rep Power
- 0
Can't get this to run in browser as applet - Help
Hi guys,
okay I have an executable jar that runs fine with the command:
I am trying to get it working in the browser as an applet. I have a .java source file as follows:Java Code:java -jar myApp.jar
and a manifest.txt with the following in it:Java Code:import java.net.*; import java.applet.Applet; import java.awt.*; public class myApp extends Applet { public static void main(String[] args) { known working code is here } }
Can you tell me step by step EXACTLY how I can make this run as an applet in the browser. I have a feeling it's something to do with there being no init() or start() but not sure. The does not draw anything onscreen btw there's no frames or output to worry about, it simply makes a tcp connection to another server.Java Code:Main-Class: myApp
Any help appreciated - ps be gentle with me I am new to Java environment.
L
- 02-02-2013, 03:53 AM #2
Senior Member
- Join Date
- Feb 2012
- Posts
- 219
- Rep Power
- 2
Re: Can't get this to run in browser as applet - Help
Don't think you needed to make a new thread for this. Anyway, here are the orcale tutorials for Applets.
Similar Threads
-
How to run applet in a web Browser?
By elururajesh3 in forum Java AppletsReplies: 4Last Post: 11-06-2011, 09:34 AM -
applet working in applet viewer, not browser
By plasticfood in forum Java AppletsReplies: 4Last Post: 06-24-2011, 06:47 PM -
Browser not loading applet
By jchapuran in forum Java AppletsReplies: 0Last Post: 01-16-2011, 08:08 PM -
Loading Applet in a web browser
By techbossmb in forum Java AppletsReplies: 2Last Post: 09-30-2009, 01:57 AM -
applet won't run in browser...
By shwein in forum Java AppletsReplies: 6Last Post: 10-17-2008, 06:24 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks