Re: Studio and Java9

2018-02-20 Thread Stefan Seelmann
On 02/20/2018 12:52 PM, Graham Leggett wrote:
>> Then just download and install the Java 8 JDK on your machine and tell Studio
>> to use it. either in
>>
>> ApacheDirectoryStudio.app/Contents/Eclipse/ApacheDirectoryStudio.ini or in 
>> ApacheDirectoryStudio.app/Contents/Info.plist using the "-vm" argument.
> 
> Expecting people to “just” hack around inside a config file hidden by default 
> before it works isn’t a solution.
At least "people" using Studio should be able to do that :)

I described a workaround on how to use the current Studio version with
Java 9 in the Jira you created. I also updated the FAQ [1].

Another option is to install a vanilla Eclispe Oxygen and then install
the Studio plugins into it, this is described in [2].

Kind Regards,
Stefan


[1] https://directory.apache.org/studio/faqs.html#error-when-using-java-9
[2] https://directory.apache.org/studio/installation-in-eclipse.html


Re: Studio and Java9

2018-02-20 Thread Emmanuel Lecharny
Also we may cut a release soin (days? A week or so?) to address thus issue.
stay tuned...

Le mar. 20 févr. 2018 à 12:55, Emmanuel Lecharny  a
écrit :

> Stefan provided a workaround (somwhere in the mailing list) Îm currently
> in a train, so I can’t find it for you, but if you can wait a couple of
> hours...
>
> Le mar. 20 févr. 2018 à 12:53, Graham Leggett  a écrit :
>
>> On 20 Feb 2018, at 1:22 PM, Lothar Haeger 
>> wrote:
>>
>> > Then just download and install the Java 8 JDK on your machine and tell
>> Studio
>> > to use it. either in
>> >
>> > ApacheDirectoryStudio.app/Contents/Eclipse/ApacheDirectoryStudio.ini or
>> in
>> > ApacheDirectoryStudio.app/Contents/Info.plist using the "-vm" argument.
>>
>> Expecting people to “just” hack around inside a config file hidden by
>> default before it works isn’t a solution.
>>
>> Regards,
>> Graham
>> —
>>
>> --
> Regards,
> Cordialement,
> Emmanuel Lécharny
> www.iktek.com
>
-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: Studio and Java9

2018-02-20 Thread Emmanuel Lecharny
Stefan provided a workaround (somwhere in the mailing list) Îm currently in
a train, so I can’t find it for you, but if you can wait a couple of
hours...

Le mar. 20 févr. 2018 à 12:53, Graham Leggett  a écrit :

> On 20 Feb 2018, at 1:22 PM, Lothar Haeger 
> wrote:
>
> > Then just download and install the Java 8 JDK on your machine and tell
> Studio
> > to use it. either in
> >
> > ApacheDirectoryStudio.app/Contents/Eclipse/ApacheDirectoryStudio.ini or
> in
> > ApacheDirectoryStudio.app/Contents/Info.plist using the "-vm" argument.
>
> Expecting people to “just” hack around inside a config file hidden by
> default before it works isn’t a solution.
>
> Regards,
> Graham
> —
>
> --
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com


Re: Studio and Java9

2018-02-20 Thread Graham Leggett
On 20 Feb 2018, at 1:22 PM, Lothar Haeger  wrote:

> Then just download and install the Java 8 JDK on your machine and tell Studio
> to use it. either in
> 
> ApacheDirectoryStudio.app/Contents/Eclipse/ApacheDirectoryStudio.ini or in 
> ApacheDirectoryStudio.app/Contents/Info.plist using the "-vm" argument.

Expecting people to “just” hack around inside a config file hidden by default 
before it works isn’t a solution.

Regards,
Graham
—



smime.p7s
Description: S/MIME cryptographic signature


Re: Studio and Java9

2018-02-20 Thread Lothar Haeger
Graham Leggett wrote:

> According to https://java.com/en/uninstall/attachmentA.xml Oracle now
> replaces the previous JDK when upgrading to the next JDK, so running on older
> version is no longer possible.

I certainly do not read any "not possible" here and do not have any issues
installing several JDKs in parallel, either:

$ /usr/libexec/java_home -V
Matching Java Virtual Machines (5):
9.0.4, x86_64:  "Java SE 9.0.4"
/Library/Java/JavaVirtualMachines/jdk-9.0.4.jdk/Contents/Home
1.8.0_162, x86_64:  "Java SE 8"
/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home
1.7.0_79, x86_64:   "Java SE 7"
/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home



Re: Studio and Java9

2018-02-20 Thread Lothar Haeger
Graham Leggett wrote:

> Unfortunately this is not possible for me - I need to build elasticsearch to
> fix a bug and that requires Java 9. I also need to administer LDAP servers,
> and that requires Apache Directory Studio.

Then just download and install the Java 8 JDK on your machine and tell Studio
to use it. either in

ApacheDirectoryStudio.app/Contents/Eclipse/ApacheDirectoryStudio.ini or in 
ApacheDirectoryStudio.app/Contents/Info.plist using the "-vm" argument.



Re: Studio and Java9

2018-02-20 Thread Graham Leggett
On 19 Feb 2018, at 9:31 PM, Emmanuel Lécharny  wrote:

>> What prevents ADS working?
> 
> Clearly, Java 9. And we are certainly not going to support it, as it
> will be EOL in March.
> 
> Same thing for Java 10 / 18.3, which will EOL in september.
> 
> Atm, just uninstall Java 9, keep going with Java 8 which is supported up
> to 2020.

Unfortunately this is not possible for me - I need to build elasticsearch to 
fix a bug and that requires Java 9. I also need to administer LDAP servers, and 
that requires Apache Directory Studio.

I can’t sit in the middle of an idealogical debate, I have work to get done :(

Regards,
Graham
—



smime.p7s
Description: S/MIME cryptographic signature


Re: Studio and Java9

2018-02-19 Thread Emmanuel Lécharny


Le 19/02/2018 à 19:25, Graham Leggett a écrit :
> Hi all,
> 
> I just upgraded to Java9 so I could work on elasticsearch, and in the process 
> it broke Studio v2.0.0-M13.
> 
> According to https://java.com/en/uninstall/attachmentA.xml Oracle now 
> replaces the previous JDK when upgrading to the next JDK, so running on older 
> version is no longer possible.
> 
> What prevents ADS working?

Clearly, Java 9. And we are certainly not going to support it, as it
will be EOL in March.

Same thing for Java 10 / 18.3, which will EOL in september.

Atm, just uninstall Java 9, keep going with Java 8 which is supported up
to 2020.

Don't buy the stupid Oracle agenda. It's crap. Utter crap. Shame on them.


-- 
Emmanuel Lecharny

Symas.com
directory.apache.org