|
-
Feb 25th, 2010, 11:37 AM
#1
Thread Starter
Fanatic Member
Reading Java Classes and Jar files
How get the list of classes inside Java Class and Jar file programatically?
Thanks in advance.
-
Feb 26th, 2010, 06:10 AM
#2
Re: Reading Java Classes and Jar files
A .class file contains only 1 class. The class with the name specified. A jar file is just like a zip file. You need to extract it and look for all .class files
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Feb 27th, 2010, 07:45 AM
#3
Thread Starter
Fanatic Member
Re: Reading Java Classes and Jar files
 Originally Posted by ComputerJy
A .class file contains only 1 class. The class with the name specified. A jar file is just like a zip file. You need to extract it and look for all .class files
Is it possible that class have different filename?
I'm sorry but I'm not really a Java-dev, my project (in Mono) need to dynamically load a Java class/jar-file.
Thanks.
-
Feb 27th, 2010, 11:36 AM
#4
Re: Reading Java Classes and Jar files
No it's not possible. And unless you're welling to make a decompiler, I can't see a point to what you're doing
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
Feb 27th, 2010, 09:54 PM
#5
Thread Starter
Fanatic Member
Re: Reading Java Classes and Jar files
 Originally Posted by ComputerJy
No it's not possible. And unless you're welling to make a decompiler, I can't see a point to what you're doing
No, I just want to extend my application to dynamically load a plug-in made from Java through the help of IKVM.
Here is my project.
Anyway, thanks for the help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|