aspose file tools*
The moose likes Linux / UNIX and the fly likes How to edit class files with JDK? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "How to edit class files with JDK?" Watch "How to edit class files with JDK?" New topic
Author

How to edit class files with JDK?

Santosh Maharjan
Greenhorn

Joined: Jul 25, 2003
Posts: 2
How can I edit class files with JDK1.2.2? I don't want to use any other external applications to edit the class files. Is it possible to edit class files with JDK alone?
Thanks and regards,
Santosh
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

The JDK does not support directly editing class files. There are a number of third-party tools that do support this -- Google is your friend.
Now two questions for you:
1) Why JDK 1.2.2 -- it's ancient! Newer Linux JDKs have much better performance.
2) Do you really mean "editing class files" or are you just trying to say "writing or editing code?" If it's the latter, most Linux distributions contain many suitable text editors, perhaps including Emacs, vi, nedit, kedit, kate, and others, any of which can be used to edit Java code.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to edit class files with JDK?