• 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:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

GrepCode

 
Ranch Hand
Posts: 344
3
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am not able to access the grepcode website.
http://grepcode.com/project/repository.grepcode.com/java/root/jdk/openjdk

503 Service Unavailable
No server is available to handle this request.


Is anybody else having this experience?
 
Saloon Keeper
Posts: 13396
296
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By coincidence, I wanted to check GrepCode just this afternoon, and ran into the same problem.
 
Sheriff
Posts: 16672
278
Mac Android IntelliJ IDE Eclipse IDE Spring Debian Java Ubuntu Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Saw that last week, too. Too bad, that was a really useful site.
 
Biniman Idugboe
Ranch Hand
Posts: 344
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are there any alternative websites?
 
Stephan van Hulst
Saloon Keeper
Posts: 13396
296
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Not sure. If all else fails you can just open the source files on your PC that the JDK installer comes with.
 
Biniman Idugboe
Ranch Hand
Posts: 344
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Where might that be located?  I am using jdk 10.0.1
 
Biniman Idugboe
Ranch Hand
Posts: 344
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay, I got it.  In my computer C:\Program Files\Java\jdk-10.0.1\lib
Codes are in plain text, had to copy it to Notepad++ in order to view them properly.  The grepcode version is still preferable.
 
Marshal
Posts: 3720
533
Android Eclipse IDE TypeScript Redhat MicroProfile Quarkus Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is a source code browser for OpenJDK here as well.
 
Sheriff
Posts: 7111
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Biniman Idugboe wrote:Okay, I got it.  In my computer C:\Program Files\Java\jdk-10.0.1\lib
Codes are in plain text, had to copy it to Notepad++ in order to view them properly.  The grepcode version is still preferable.


Agreed.  And you can use the search field in the Windows Explorer to find a particular piece of code.  On Unix-like OSes you can use grep!
 
Biniman Idugboe
Ranch Hand
Posts: 344
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks to everyone who has responded. Has grepcode.com completely gone off air or is this a temporary technical challenge?
 
Knute Snortum
Sheriff
Posts: 7111
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's hard to say.  It looks like it has been down for two weeks at least.  That's a long time for a popular site to be down.  Still, if the site were going dark forever, you would think that is would at least put up a "This site is no more" page.  Let's hope if come back up.
 
Biniman Idugboe
Ranch Hand
Posts: 344
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks.
 
Ranch Hand
Posts: 235
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There is a built in grep like tool for Windows -- findstr.  It's a cmd line program, and I have zero experience with it.  Thought I'd mention it, in case it applied to this discussion.

Regards,
Robert
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
searchcode is a free source code and documentation search engine. API documentation, code snippets and open source (free sofware) repositories are indexed and.
 
Saloon Keeper
Posts: 24564
168
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Robert D. Smith wrote:There is a built in grep like tool for Windows -- findstr.  It's a cmd line program, and I have zero experience with it.  Thought I'd mention it, in case it applied to this discussion.

Regards,
Robert



I believe the Linux/Unix equivalent is named "string", but that's for extracting strings from an executable. Grepcode was a code snippet repository.

The "503" error indicates that the site server is still online, but the grepcode webapp has crashed. Apparently the site maintainer is indisposed.
 
Greenhorn
Posts: 2
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Biniman Idugboe wrote:I am not able to access the grepcode website.
http://grepcode.com/project/repository.grepcode.com/java/root/jdk/openjdk
Is anybody else having this experience?



Didn't work for me as well. But i found an alternative solution: www.zgrepcode.com/java/openjdk/10.0.2/

Hope it helps.
 
Knute Snortum
Sheriff
Posts: 7111
184
Eclipse IDE Postgres Database VI Editor Chrome Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch, sandy temp!  Nice first post.  Yes, the site look like a good alternative.  The only problem I see is that the Oracle Java only goes to 1.8.0_181.
 
Marshal
Posts: 74377
334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch That looks good at a 1‑second look. Do you work for that grep code company?
 
Biniman Idugboe
Ranch Hand
Posts: 344
3
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perhaps this is the replacement for grepcode?  It is nice, but it will be nicer if it has a search or a find facility.  The background is kind of hard on the eyes. Pardon me!
 
sandy temp
Greenhorn
Posts: 2
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank You everyone. Yes me and my team are building zgrepcode. We used to use grepcode a lot but it's missing since 2-3 months so we thought of rebuilding it and in a way contribute to the opensource community .
Team is really excited to see such valuable feedback and will be working on the same.

We will be adding more flavors of java, other popular projects very soon and search facility in a week or 2.
 
Biniman Idugboe
Ranch Hand
Posts: 344
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the eeforts, Mr. Sandy Temp.  I could not find the Stream interface in java.util.stream.  
 
Campbell Ritchie
Marshal
Posts: 74377
334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Biniman Idugboe wrote:. . . I could not find the Stream interface in java.util.stream.  

Here it is. What has Stream got to do with the current topic?
 
Biniman Idugboe
Ranch Hand
Posts: 344
3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apology. Wrong context.  I retract my previous comment.
 
Campbell Ritchie
Marshal
Posts: 74377
334
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apologies accepted
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic