| | |
source code invisible
![]() |
•
•
Join Date: Apr 2007
Posts: 12
Reputation:
Solved Threads: 0
Hi to all,
I use NetBeans 5.5 and through Library manager I imported a jar file. How can I see the source code of the classes that the jar file contains? I got all classes from the jar file listed, I can see the name of constructors and methods but when I want to open them I get mesage Source file not found!
Thank you!!!
I use NetBeans 5.5 and through Library manager I imported a jar file. How can I see the source code of the classes that the jar file contains? I got all classes from the jar file listed, I can see the name of constructors and methods but when I want to open them I get mesage Source file not found!
Thank you!!!
The jar file only contains the compiled class files. Generally, if open source code is available, it is included in a separate directory or zip/jar file. If this is a jar that you downloaded, look in the directory you placed the downloaded files in for the source. If it is not there, check the web page where you downloaded the jar. There may be a separate download for the source.
If you locate the source you can use the Library Manager in Netbeans to specify the location of that source code ("Sources" tab) and then you will be able to browse the code and step into if with the debugger if you wish.
If you locate the source you can use the Library Manager in Netbeans to specify the location of that source code ("Sources" tab) and then you will be able to browse the code and step into if with the debugger if you wish.
Trying to decompile JAR file, where there is no published source code, I will see it as illegal activity that is not welcome here guys...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
![]() |
Similar Threads
- Source code for printf, scanf, cin, cout? (C)
- Windows 2K source code? (Windows NT / 2000 / XP)
Other Threads in the Java Forum
- Previous Thread: JBoss
- Next Thread: Generate Report as PDF and Excel file
| Thread Tools | Search this Thread |
911 addball addressbook android api append applet application apps array arrays automation binary bluetooth businessintelligence button card class client code collision component crashcourse css csv database eclipse ee error fractal free ftp game gis givemetehcodez graphics gui html ide image integer integration j2me japplet java javaarraylist javadoc javafx javaprojects jni jpanel julia jvm linked linux list loan machine map method methods migrate mobile netbeans objects oriented output phone physics printf problem program programming project projects radio recursion replaydirector reporting researchinmotion rotatetext scanner se server service set sms software sort sql string swing test textfield threads tree trolltech ubuntu utility windows






