Re: JDK

2016-03-31 Thread Ryan Schmidt
nload the > appropriate JDK. I know there is a java category, but I wasn't talking about that; I was talking about the java portgroup, whose code you can see here: https://trac.macports.org/browser/trunk/dports/_resources/port1.0/group/java-1.0.tcl I know that it does not presently contain code

Re: JDK

2016-03-31 Thread Daniel J. Luke
On Mar 31, 2016, at 12:24 PM, Ryan Schmidt wrote: > Since there's likely more than one port needing this kind of check, it would > make sense to abstract it out into a portgroup. We already have a java > portgroup. I'm not entirely clear on how it's used, but maybe it makes sense > to add this

Re: JDK

2016-03-31 Thread Abdulrahman Alshammari
Thanks for discussing this issue. It is true that there is a Java as a category, but I am almost sure that this check is not available there. I guess the best choice is to run a script and let the user to download the appropriate JDK. > On Mar 31, 2016, at 12:24 PM, Ryan Schmidt wr

Re: JDK

2016-03-31 Thread Ryan Schmidt
rote: >>>> >>>>> Someone told me that I can download JDk from macports. However, I could >>>>> not find the any port belong to this. What I need is to update my JDK >>>>> version without going to Oracle website. >>>> >

Re: JDK

2016-03-31 Thread Chris Jones
On 31/03/16 16:50, Ryan Schmidt wrote: On Mar 31, 2016, at 10:47 AM, Abdulrahman Alshammari wrote: On Mar 31, 2016, at 11:26 AM, Ryan Schmidt wrote: On Mar 31, 2016, at 10:00 AM, Abdulrahman Alshammari wrote: Someone told me that I can download JDk from macports. However, I could not find

Re: JDK

2016-03-31 Thread Ryan Schmidt
On Mar 31, 2016, at 10:47 AM, Abdulrahman Alshammari wrote: > On Mar 31, 2016, at 11:26 AM, Ryan Schmidt wrote: >> On Mar 31, 2016, at 10:00 AM, Abdulrahman Alshammari wrote: >> >>> Someone told me that I can download JDk from macports. However, I could not >>>

Re: JDK

2016-03-31 Thread Abdulrahman Alshammari
Because I want to make it as a dependency for other software. Is there any way. I remember your suggestion about jdk checker, but it will be better if I can download it. > On Mar 31, 2016, at 11:26 AM, Ryan Schmidt wrote: > > > On Mar 31, 2016, at 10:00 AM, Abdulrahman Alsh

Re: JDK

2016-03-31 Thread Ryan Schmidt
On Mar 31, 2016, at 10:00 AM, Abdulrahman Alshammari wrote: > Someone told me that I can download JDk from macports. However, I could not > find the any port belong to this. What I need is to update my JDK version > without going to Oracle website. I'm not aware of a port tha

JDK

2016-03-31 Thread Abdulrahman Alshammari
Hey everyone, Someone told me that I can download JDk from macports. However, I could not find the any port belong to this. What I need is to update my JDK version without going to Oracle website. Thanks ___ macports-users mailing list macports

Re: How to tell ant to use specific version of JDK in macport

2011-03-07 Thread Firman Rauf
Sorry, Apparently sudo command does not export my environment.plist. Haven't found the solution yet, but clearly not a bug in the macport side. regards, Firman Azis Rauf On 08/03/2011, at 2:36 PM, Firman Rauf wrote: > Hi, > > My subject requires me to use the old JDK 5 and t

How to tell ant to use specific version of JDK in macport

2011-03-07 Thread Firman Rauf
Hi, My subject requires me to use the old JDK 5 and tomcat 5. After googling, I found a way to install JDK 5 in snow leopard. I have set up my JAVA_HOME and ANT_HOME. When I call ant -diagnostics, it correctly shows that it's using JDK 5. However, when I build commons-dbcp, ant still usin