[http://njcv.htmlplanet.com]
How to...
Contents
Selecting, decompiling and disassembling Java class files
- Click
open in order to select all class files from a directory. You need to select one class file only in the file dialog. All class files from the directory the selected file is located in, will be opened in the Java class files list.
- From the Java Class files list, select the class files you want to decompile or dissasemble by clicking each class file once. You can select all class files by clicking the
select button or clear your selection by clicking the clear button.
- Click the
decompile button to start decompiling your selection, or click the disassemble button to disassmble it. NMI's Java Code Viewer will now process the selected class files. The generated source-code files will be presented in the NMI's source-code files list.
If you want to process the Java class files of a .jar or .zip archive, you need to open the archive first. In the File menu, choose Open jar/zip archive. The selected archive will be extracted automatically in the same directory as the archive itself. The original paths will be preserved. Now you can select and process the Java class files as described above.
Viewing and editing NMI's source-code files
After selecting a directory and processing Java class files, the generated NMI's source-code files can be viewed and edited. There are basically three ways to do so.
- You can explore the selected directory containing the class files and the generated source-code files by clicking the
explore button. From the Explorer window you have access to all .nmi, .java and .dis files.
- From the NMI's source-code files list, you can select a file by clicking it once, in order to open its source-code in Pfe32. From within Pfe32, you can view and edit the source-code.
- You may also choose to open all generated source-code files at once. After the decompilation or disassembly process has finished, simply click the
edit all button.
In stead of using Pfe32, you can select an other program as your default editor. See the next paragraph.
Selecting an editor
The default editor after installation, is the included, light-weight, freeware editor Pfe32 the Programmer's File Editor. You may however set any other editor or development environment to be NJCV's editor. For example, to set Microsoft's Notepad as NJCV's editor, the following steps should be taken:
- Go to Set editor in the Options menu and click Browse to executable. A file dialog will pop-up.
- In the file dialog, browse to the editor of your choice and select its executable. E.g. "C:\Windows\Notepad.exe".
- The editor or development environment of your choice, in this case Notepad, is now set as NJCV's editor. The last menu-item in the Edit menu will now show Edit all: Notepad in stead of Edit all: Pfe32.
Please note that not all editors support opening multiple source-code files and not all editors are compatible with spaces. For instance, Notepad will only open one file at a time.
[Back to top]
[Help menu]
[Read me]
[How to...]
[Functions and features]
[Console help]
[FAQ]
[License agreement]
|