Author | Post | |||
dragoon |
Hi! I have a question! I downloaded the DJ Java Decompiler but I can't run a file. I mean I whould like to modify it and then run it as a normal applet! But that doesn't work. Can you pls tell me what I have done wrong or? thx dragoon |
|||
21.08.2003 08:58:42 |
|
|||
paralax |
You need a java SDK. Save the program as a .java file, run javac filename.java at the command line, and then you will get a filename.class file. Put some html in that directory to load the applet and away you go. |
|||
21.08.2003 15:49:58 |
|
|||
dragoon |
Sorry but that doesn't work becuse with DJ Java Decompiler I only can save files in text format! the end of the file is .java but it is a text? any help? what is (char) in java-applet? dragoon |
|||
28.08.2003 07:33:46 |
|
|||
dragoon |
do I have to enter the javac filename.jave in a windows command line or in python command line? i have tried both but it doesn't work!!!! help!!! I only want to edit this file!!! thx dragoon |
|||
28.08.2003 08:00:46 |
|
|||
dragoon |
now i know what you mean with javac but i have no file javac.exe on my computer! i'm going mad an why is nobody answering and nobody writing something on the forum i feel lonely dragoon |
|||
28.08.2003 08:22:09 |
|
|||
Cagliostro |
For running java progs i use JCreator LE, it`s more comfortable than the commandlines... |
|||
28.08.2003 10:22:09 |
|
|||
dragoon |
hi! a can't run anything in JCreator LE! I don't know why i don't know what to do i'm going mad!!! i only want to open the challange2.class file, edit it a little bit and then run it!!! runnnnnn!!!!!!! but it is impossible! i'm trying this for 1 week know and it doesn't work! i only get .java files and i can't view them! i need .class files but i can't create them! it's crazy! i will become crazy!!! arrrrrgggg dragoon |
|||
28.08.2003 12:08:23 |
|
|||
Cagliostro |
thatīs not so simple, class files used for applets have a init() function, if you want to run an applet class file you have to make some changes, for example you could change the init to the main and make other functions static and so on, but it`s easier to copy certain parts of the class file and write a small little prog that contains the most important parts. Hope that could help |
|||
28.08.2003 12:26:27 |
|
|||
DigitalAcid |
Search for a program called Textpad, it's very usefull... You can compile a java program and run it. Without any command line. |
|||
28.08.2003 15:45:12 |
|