Java viewer
- w1tchdoctor
- suck-o-fied!
- Posts: 50
- Joined: 13 Jan 2006, 17:00
- 18
Java viewer
I want 2 view some Java, but idk how.....any one have any ideas? I just have the raw code......... and it says the HTML tags are not allowed....
Alles hat ein Ende; ausgenommen Wurst hat zwei...
- bad_brain
- Site Owner
- Posts: 11638
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
you have to compile it first, save the textfile with the source code as example.java and then compile it with javac example.java
if it don´t compile because of errors check the code with
javac -wc example.java
if it´s an Java applet you can view it with
appletviewer example.class (have to be compiled first).
if you need more help post the source code...
if it don´t compile because of errors check the code with
javac -wc example.java
if it´s an Java applet you can view it with
appletviewer example.class (have to be compiled first).
if you need more help post the source code...
- w1tchdoctor
- suck-o-fied!
- Posts: 50
- Joined: 13 Jan 2006, 17:00
- 18
- bad_brain
- Site Owner
- Posts: 11638
- Joined: 06 Apr 2005, 16:00
- 19
- Location: In your eye floaters.
- Contact:
if you compile "example.java" you´ll get a "example.class"-file, if it´s a normal Java application you can start it in command prompt by
and if it´s a Java applet with a GUI you can embed the class in html and view it in the browser or you can use the Java appletviewer (before compiling) by
check your other Java-post for more info...
Code: Select all
java example
Code: Select all
appletviewer example.java