Java 1.5.0_05 source code?

Does anyone know where I can find the source code for Java 1.5.0_05? I did find one promising location, but the source was packaged in ways that could only be expanded on Windows and Solaris, not on Mac OS X (the OS I'm running.)
Thanks.

Which source are you after? Just the API, or the JVM. The API should be in a file called "src.zip" in the JDK install folder.The API, but the problem is in getting a "JDK install folder" to look in. The newest sources from Sun (JDK 1.5.0_09, I believe) comes in a format I can decompress on Mac, but the archived ones are in native Windows and Solaris formats that I can't get to.
You're right in that Java for Mac is developed by Apple, but I had assumed that the source for the core "java", "javax", etc. packages stayed the same. Perhaps that's not true?
Anyway, I'll see if I can get it from Apple.
Thanks.

Similar Messages

  • Java.lang.RuntimeException: Uncompilable source code - missing method body

    Hi,
    I am getting the following error at runtime
    java.lang.RuntimeException: Uncompilable source code - missing method body, or declare abstractwhen I try to instantiate a class using reflexion as following:
    MyInstance = MyClass.newInstance(); I have tried to find some explanation using Google, but could not find any that fit my case. MyClass's implementation has a public constructor with no parameter. There is no error at compile time when cleaning and building all code.
    Anyone has tips about what could cause this error?
    Thanks.

    Jrm wrote:
    It is not my code originally... You are making far too many unchecked assumptions about the reality of this situation to even get close to what that reality it is... Get over patronizing, it would improve your social/people skills... Thanks !It is your own problem that you perceive something as patronizing, while in fact it was only an honest and straight to the point attempt to help you. This forum does not deal in sensitivity, it gets in the way of helping people to see the error of their ways.

  • Can I get java 1.2.2 source code

    I have a legacy applet which will go off this year. Unfortunately I have to maintain that on java 1.2.2. I don't want upgrade that to java 5.0 or later for the reason its not going to be there after 8 months.
    This Applet requires 1.2.2 but our client machines are upgraded to 5.0 I tried Java Web Start/Plug in none of them worked.
    So my last try is getting the source code and change the package structure and reference that from my applet(Just to make it work till end of this year).
    I really appreciate your support
    --Murali                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    I don't think you'd be able to get the source code for this EOL (end of life)
    release. In those days, only source licensees can get at the source code.

  • Where to download Java EE 5 sdk source code?

    I want to attach the source code to eclipse source code dir that way I can see the method comment in eclipse. But I can't find such link. Anybody got it?
    thanks.

    tschodt wrote:
    robert.whane wrote:
    tschodt wrote:
    For which specific Java EE packages are you interested in seeing the source code? I don't think I will bother replying if your answer is "All of them".
    Why not? For Java SE SDK, src.jar is easy attachment for everything.Who has the rights for source code the classes in the Sun Java SE SDK distribution?on my system, the right are for me of course! This is very easy procedure. I use code in Eclipse, step into say String. Now Eclipse asks me.. where is source? I navigate to JDK install dir and attach src.jar. I no need special rights for this... simple click and source is there for me... (only sun.* packages, you need make extra download).
    >
    Why we not can have easy source attachment for the Java EE SDK?JEE is a spec. The Sun JEE SDK is a reference implementation (glassfish).I know SPEC... so maybe we have two src jars here. One with public interface, other with API implement. This no problem... okay, maybe I wrong in post earlier. Not 1, but then 2 src attachment jars is okay!
    Who has the rights for the source code for the Sun JEE SDK distribution?this is same thing. on my system, I am developer, I have rights to attach. I JDK implementation of my is SUN (Glassfish), I navigate to Glassfish install dir. If it is JBoss AS, I navigate to that... this is no problem, but is problem when src is simply not there...

  • Java 7 update 3 source code

    Hi,
    I am currently using jdk7u3. The version is : build 1.7.0_03-b05
    I want to download the source specific to this release only.
    I can find the source code for update 6 but not for update 3.
    Can anyone please post a link for the same.
    Thank You.
    Rohit

    Hi,
    I am currently using jdk7u3. The version is : build 1.7.0_03-b05
    I want to download the source specific to this release only.
    I can find the source code for update 6 but not for update 3.
    Can anyone please post a link for the same.
    Thank You.
    Rohit

  • Has anybody written a Java program to get Source code from a URL ?

    Hi,
    I have a program written in another language (Not Java) to basically
    pull in the source HTM or HTML code, given a URL.
    ex. getsource www.any.com output
    So, ==> output will contain the source HTM or HTML code of
    www.any.com.
    Is there a Java program that do the same ? Like to see it.
    Please append here, or provide pointer to get it.
    Thanks,.... -- gte99te

    Here's a quick program that does just that.
    I'd suggest taking a look at the Java Tutorial, at it's section on using URLs descibes how to do this, and it shouldn't tank more than 45 minutes to get through.
    import java.io.*;
    import java.net.*;
    public class SavePage{
        public static void main(String[] args) throws Exception
         // make sure we've been given a URL
         if (args.length != 2)
             System.err.println("Usage: java SavePic <URL> <filename>");
             System.exit(1);
         // convert the string argument to a URL
         URL url = new URL(args[0]);
         // open a connection to the resource with the given URL
         URLConnection connection = url.openConnection();
         // get an input stream from the connection, and wrap it in a buffer
         BufferedInputStream bis = new BufferedInputStream(connection.getInputStream());
         // open an output file and get an output stream to it
         FileOutputStream file = new FileOutputStream(new File(args[1]));
         // wrap[ the file's output stream in a buffer
         BufferedOutputStream bos = new BufferedOutputStream(file);
         // read each byte from tne connection, and write it to the file     int b;
         while( (b = bis.read()) != -1 )
             bos.write(b);
         // clean up
         bis.close();
         bos.close();
    }

  • Where to download java 5.0 source code

    thx a lot

    What do you mean "Java 5.0 source code"?
    Source for the API libraries? It's in src.zip that's in the JDK download.
    Source for the VM? It's available somewhere on the Java website.
    Sample source code for you to learn from? Try google.

  • Jar file and source code? (new to java!)

    Hi all!
    Sorry if this is a dumb question but I'm really new to java (.net guy).
    Someone sent me a jar file and now I need access to source code. I now that I can rename to .zip and view its contents (.class)...
    But what about source code? Can I decompile? As i understand, .class files are compiled .java files...
    Should I ask for the source code to the guys that sent me the .jar file?
    thanks
    jay

    Humm... is java as fast as replies in this forum? Thank's for your replies warnerja and zadok
    I need the source code so that I can understand how the original developer solved a problem. I can ask for the source code.
    I posted this message because I was afraid that the question was stupid and source code was in front of me. I am really new to java!
    So. No source code in .jar or .class files. Right?
    Thanks
    Jay

  • Do you have some useful  source codes ???

    I find many J2ME programs from various websites.
    But I cannot find source code of them.
    I want to get them because I'm doing project about J2ME Programming.
    If you have some useful sourcecodes such as utility: calendar&time, money, horoscope, calculator
    Please post here
    or Send me at [email protected]

    Hi Golftel,
    Its pretty strange that u r working with Java and worried about source codes. There are plenty of codes available around the internet.
    However if u want to see the source codes of the applications u have downloaded, do one thing, unzip the jar to ur hdd and the use any decompiler to decompile the class files and make the project using the java files generated there by.
    If the files are obfuscated (as hopefully they will be), u have to make bit reverse engineering otherwise use any debugger (I recommend using Netbeans) and debug the application.
    Cheers,
    SD

  • How can i get the source code from java concurrent program in R12

    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    Zulqarnain

    user570667 wrote:
    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to convert class file to Java source code ?

    Hi All ,
    Currently am working in Peoplesoft Demo project using java as Plug in.We have only the class files and jar files and we have planned to modify the code for future enhancements.We dont have any legal issues here as we are already working with our client for the original source code.
    Kindly help me out in doing this reverse engineering process.We have come to know the below steps would help us out.Can someone guide us in acheiving this process step by step.Please add your experience here and let us know what are the other steps required ..
    (1)Rename the file from .jar to .zip and extract the .zip file.
    (2)Decompile the desired .class file using 3rd party tool and get .java file.
    (3)Modify the .java file and compile it.
    (4)Now zip the extracted files and rename the it from .zip to .jar.
    We need to verify whether the modified .jar file will work
    Thanks & Regards
    Kar1983

    Thanks for your reply ....We have asked them so many times ..but they say they dont have it .Since we have planned to do some enhancements from our end we have planned to do reverse engineering process.

  • How to read the Java source code (in Netbeans)

    I use OS X10.5.5, NetBeans 6.1 and JSE 6 on a 64 bit mac.
    When I downloaded NB6.1 it had JSE 5 as it's default (and only) java platform. I ran Software Update to get Java 6 from Apple, used the Java Prefrences utitlity to set JSE6 as default. In NB I added the JDK6 platform, registered the JDK6 javadocs and noticed that I also have the option of registering the Java source code.
    I have three questions:
    1) How do I make JDK6 the default in NetBeans. The JDK5 keeps being default after I did the steps above and I don't see anywhere to change that.
    2) How do I read the Java 6 source code? I can see sun provides [source code| http://download.java.net/jdk6/] for their supported platforms. I dont see Apple doing the same for its JDK port. What would I need to do to get to read the java SE6 sources? or is it actually hiding somewhere in the /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home hierarchy?
    3) Where does the JVM look for the binary code to run when I make a call to, say java.util.ArrayList or any other library. In my naivety I would have assumed it would be a .class file somewhere in the java Home folder, but I don't see anything like it.
    thanks in advance,
    chris

    This is taken from the help included with netbeans. In response to question 1.
    By default, the IDE uses the version of the Java SE platform (JDK) with which the IDE runs as the default Java platform
    for compilation, execution, and debugging. You can view your IDE's JDK version by choosing Help > About and clicking the
    Detail tab. The JDK version is listed in the Java field.
    You can run the IDE with a different JDK version by starting the IDE with the --jdkhome jdk-home-dir switch on the command line
    or in your IDE-HOME/etc/netbeans.conf file. For more information, see IDE Startup Parameters.
    In the IDE, you can register multiple Java platforms and attach Javadoc and source code to each platform. For example, if you
    want to work with the new features introduced in JDK 5.0, you would either run the IDE on JDK 5.0 or register JDK 5.0 as a
    platform and attach the source code and Javadoc to the platform.
    In  , you can switch the target JDK in the Project Properties dialog box. In  , you have to set the target JDK in the Ant script itself,
    then specify the source/binary format in the Project Properties dialog box.
    To register a new Java platform:
    Choose Tools > Java Platforms from the main window.
    Click New Platform and select the directory that contains the Java platform. Java platform directories are marked with a  
    in the file chooser.
    Use the Sources and Javadoc tabs to attach Javadoc documentation and source code for debugging to the platform.
    Click Close.
    To set the default Java platform for a standard project:
    Right-click the project's root node in the Projects window and choose Properties.
    In the Project Properties dialog box, select the Libraries node in the left pane.
    Choose the desired Java platform in the Java Platform combo box.
    Switching the target JDK for a standard project does the following:
    Offers the new target JDK's classes for code completion.
    If available, displays the target JDK's source code and Javadoc documentation.
    Uses the target JDK's executables (javac and java) to compile and execute your application.
    Compiles your source code against the target JDK's libraries.
    If you want to register additional Java platforms with the IDE, you can do so by clicking the Manage Platforms button.
    Then click the Add Platform button and navigate to the desired platform.
    To set the target Java platform for a free-form project:
    In your Ant script, set the target JDK as desired in the javac, java, and javadoc tasks.
    Right-click the project's root node in the Projects window and choose Properties.
    In the Sources panel, set the level of JDK you want your application to be run on in the Source/Binary Format combo box.
    When you access Javadoc or source code for JDK classes, the IDE searches the Java platforms registered in the
    Java Platform Manager for a platform with a matching version number. If no matching platform is found, the IDE's default platform is used instead.
    See Also
    Managing the Classpath
    Declaring the Classpath in a Free-Form Project
    Stepping Through Your Program
    Legal Notices

  • Web Dynpro JAVA developer attempting to unravel Environmental Compliance source code seeks guidance from EC NWDS Composition Environment specialist

    It frustrates me to have to ask for detailed instruction on this issue, but normal means of importing these Java-based EC software archives just aren't working in our NWDI system. We never moved our production WDJ applications to CE (like so many others we jumped straight from NW7.01 to NW7.3) but I'm doing my part to come up to speed on composition projects. No matter how we create the NWDI track and import the software archives and dependencies, we can't get to a state where we can successfully import a project (product?) from the Development Infrastructure into the Composite Explorer perspective.
    I need to know specifically how I, an experienced WDJ developer with no exposure to CE, can take the five .SCA files that contain Environmental Compliance 3.0 and get the project into my NWDS 7.31 workspace in a workable state, on my local system, without NWDI. Actual code modifications can wait for the moment, I just need to analyze the classes and EJB's to identify where we might want to make enhancements, and where/how to use the provided Enhancement Spots. I've followed the links, downloaded the .pdf's, read the online help, stepped thru the tutorials - I've done my due dilligence. It's common knowledge that Composition Environment is no longer recommended for new development, and as the EH&S programs are converted to WDA there are even fewer resources to look to.
    These specific types of pleas don't often return results, as I have learned over my years in this community, but nothing ventured-nothing gained, and I am no longer afraid of looking dumb or being scolded. I just need help.
    As always, points will be awarded.

    I agree in part Tobias.
    Because the source code is in the SCA within the src.zip file within each SDA.
    What does not exist within that SCA Standard is the SOURCEARCHIVES folder. In that folder should be a file (the extension .dcsa) for each DC (component) that SCA Standard.
    In short, yes it is possible to perform a reverse engineering...
    Just import the SCA Standard in NWDS.
    Note the name and type of all DCs, its dependencies and its public parts... yes, it's a lot of work, as there are many interdependent DCs.
    Done so, create a new workspace in NWDS and create a new SCA in DI (custom), inside it create all DCs with the same names and types (and dependencies)... identical to SCA Standard.
    And soon after, entering the SRC folder of each of these projects (DCs) and replace its contents with the contents of src.zip file that is contained within the SDA files within the SCA Standard.
    That done, we will have an SCA Custom with all representative of the SCA Standard DCs, but editable.
    I agree it is not nearly a good practice, or even that SAP indicate that this is done... however, it is possible yes.
    Att,
    Angelo

  • How to get Source code of a Schedular Java concurrent program in Payments

    Hi Experts,
    I am very new to Java Concurrent program.
    I need java source code of a schedule java concurrent program.Following are the details of Executable.
    Executable :Format Payment Instructions
    Short Name :IBY_FD_PAYMENT_FORMAT
    Application : Payments
    Execution Method :Java Concurrent Program
    Execution File Name:FDExtractAndFormatting
    Execution File Path : oracle.apps.iby.scheduler
    I searched in execution file path,but i am unable to find required java source.
    Please someone help regarding this issue..
    It's Urgent Issue.
    Regards
    Amar

    Hi Srini,
    Thanks for reply...
    In the attached template of concurrent program "Format Payment Instructions", i need to add voucher number in the template.
    How can i do this?how to decompile the executable?
    It is a check printing.
    Please give me suggestions..
    Regards
    Amar

  • OIC: Need to find the Source Code for the YTDSummary.java file

    Hi All,
    We have 11.5.10 implemention and we are using the OIC(Incentive Compensation) Application. In the Report Module for the Year-To-Date Summary we need look for the Java Source Code.The cnytdsum.jsp file call the YTDSummary.java file. We have teh following question
    1. How we can get the Java Source Code and where and which directory we need to look into?
    2. Let say if we need to customize the java file how we can do that?
    3. where and which directory we have to complie the java file?
    Highly appreciate for any pointers
    Thanks,
    Johnson.

    But those must be platform dependant, not really that
    interesting to look at. I have never felt any need to
    look at those at least.Wake up and smell the coffee, abbie! I read the source code all the time and constantly tell my students to do that, too.
    1. Java source code is not platform dependent. The original poster wanted to look at linked list code, how could that be platform dependent?
    2. It is the implementation of the SDK APIs, so by definition it is implementation dependent code, liable to change in a later version. So don't assume anything beyond what is claimed in the API documentation. However, sometimes the documentation is incomplete or ambiguous to you, and reading the source can provide some insight, however implementation dependent. (Light a candle or curse the darkness.)
    3. Why read source code? It's a good way to learn how to program. You see something in the API and ask: how'd they do that? Or you realize you want to do something broadly similar, but you can't reuse the source code.
    For example, Images are not Serializable, but suppose you want a small image that is part of an object to be serialized with the rest of the object without too much fuss (ie, without using javax.imageio). You notice ImageIcon is serializable, so you use it. (An ImageIcon has-an Image.) Then you wonder: how'd they do that? You read the source and then you know.
    You live, you learn,
    Nax

Maybe you are looking for