• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to just get java source code (src.zip), without installing full JDK ?

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

In Eclipse, I am trying to attach source code for Java classes.

I have only JRE installed. For getting src.zip file, do I need to install full JDK or is there a way to just get src.zip.
I tried searching, but not able to find only src.zip file.

Thanks.
 
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Confusing. You say you're searching for src.zip file. What do you mean by that?


The Eclipse web site says that Eclipse will run with just the JRE installed, but I read in other places that some functionality may be missing. Therefore, you should be able to use Eclipse to edit source code without the JDK installed, but I'm confused what the "src.zip" file is, why/where you're looking for it, and what you plan or expect to do with it.
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As far as I know, you cannot download the src.zip in isolation. You will need to obtain the JDK. Are you interested in the actual source or the API docs through Eclipse?

@Greg
The src.zip contains the source code for the java API. In eclipse, if you have configured the source, you can open the declaration by hitting F3 or the API doc by hitting F2
 
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Maneesh Godbole wrote: or the API doc by hitting F2


That is related to Javadoc location. without source attachment also, It will work.
 
Seetharaman Venkatasamy
Ranch Hand
Posts: 5575
Eclipse IDE Windows XP Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maneesh, You are correct . when I plug out my internet, I understand . thanks
 
Rahul Chhabra
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Maneesh.. I am looking for only source code.

But seems, Oracle does not allow this. Installing full JDK..
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Of course you can create a backup after installing, so you then can copy it to any other PC you want to.
 
Greg Brannon
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Seetharaman Venkatasamy wrote:The src.zip contains the source code for the java API. In eclipse, if you have configured the source, you can open the declaration by hitting F3 or the API doc by hitting F2



Thanks. Everyone knew what src.zip was and what to do with it but me.
reply
    Bookmark Topic Watch Topic
  • New Topic