Jump to content

Recommended Posts

Posted
Java is confusing me at the moment. Seems they've suddenly shot through a few releases and they're now on 11. Are we meant to be upgrading? Is 11 backwards compatible with 8?
Posted

Java are changing their release schedule to quarterly, hence the increase in version numbers.

Versions 8 and 11 have long term support. Versions 9 and 10 don't, in fact support for 9 has already ended.

 

On top of this is the change to charging in the link at the top.

Posted

Sorry for dragging this up again but I have read the release note a few times and my brain just seems to be unable to process what it actually means. Here is what I think this means for us please correct me where I am wrong:

 

Java 8 will no longer be patched after this coming January unless you have a commercial licence which has to be paid for?

 

Java 9 was the start of their increased release schedule as pointed out by @GiggleKitteh and support has already ended.

 

Java 10 is similar to 9 as that reached “End of Public Updates" in September.

 

Java 11 doesn't appear to have a EOL date on the roadmap, instead it links to a blog which is a clear as mud to me (https://blogs.oracle.com/java-platform-group/oracle-jdk-releases-for-java-11-and-later).

 

 

So there is no point installing Java 9 or 10 as they are already EOL. Java 8 will be EOL in Jan not so much point in installing that but when searching for JRE I only get given to option for version 8 installers from the Java site. Am I missing something here? I can see Java SE 11 on the Oracle site, is SE the new JRE? Or should we just be saying no to anything requiring Java as we aren't going to pay for a commercial licence, does this even apply to JRE? Is it just people developing in Java that even need to be concerned by this? My head hurts :confused2:

Posted (edited)
Sorry for dragging this up again but I have read the release note a few times and my brain just seems to be unable to process what it actually means.

The following articles may help?

 

www.theregister.co.uk/2018/03/09/java_release_train_qcon/

www.theregister.co.uk/2016/12/16/oracle_targets_java_users_non_compliance

 

Is it just people developing in Java that even need to be concerned by this? My head hurts :confused2:

No.

 

does this even apply to JRE?

Yes.

 

Or should we just be saying no to anything requiring Java as we aren't going to pay for a commercial licence

Replace JRE 8 with the latest and you won't have to pay.

 

You should also be trying to get rid of any software that requires Java*. :)

 

* Just to clarify, non-bundled JREs that have to be installed on end user devices. [emoji107]

Edited by Arthur
  • Thanks 1
Posted

You should also be trying to get rid of any software that requires Java. :)

 

That's easier said than done. Friggin' Papercut needs it, albeit one that's bundled with the software.

Posted

Thanks @Arthur the 2nd article was really helpful for me.

 

So Java SE 11 for now any try to move away from it anyway! Funnily enough it wasn't software pre se that has brought this topic up for us, it was a Science teacher trying to use resources from phet.colorado.edu

Posted

Having done some work on this myself lately and having spoke with our Oracle account manager, Java 11 SE is going commercial license only too from January:

 

https://www.oracle.com/technetwork/java/javase/eol-135779.html

 

After January you'll either need to pay for a commercial license for Java 8 SE or 11 SE for on going updates. Your options then are pay (about £2 per user per month), run un-patched, move to OpenJDK or remove.

 

Also note that the Java Applet Plug-in goes EOL in March 2019 (not support on any version above SE8 anyway). So even with a commercial license you'll be unpatched after this for websites using the Java applet plug-in.

  • Thanks 3
Posted
Having done some work on this myself lately and having spoke with our Oracle account manager, Java 11 SE is going commercial license only too from January

 

I was looking at the download page yesterday and thought from the wording that I would need the OpenJDK version. I downloaded the OpenJDK and I have not a clue what to do with it as it is just a zip file with no installer. Looks like we will be saying no to anything Java from now on.

Posted
I was looking at the download page yesterday and thought from the wording that I would need the OpenJDK version. I downloaded the OpenJDK and I have not a clue what to do with it as it is just a zip file with no installer. Looks like we will be saying no to anything Java from now on.

 

Most likely source files that you would need to compile.

Posted
Most likely source files that you would need to compile.

 

I'm sure you can tell that given the nature of the questions I have been asking; this is beyond my current mental capacity (it has been a long summer / autumn for me). At least though you kind people have broken it down enough even for me to understand the situation, thanks!

  • 2 weeks later...
Posted

My head hurts :)

 

Our pupil attendance system (Click & Go by SEEMIS) requires Java Runtime Environment 8.

 

We have it running in a self-contained "portable" environment to allow us to keep this running with JRE8 while we look at removing JRE from the PCs.

 

Does this mean we'll need to pay to continue to do this?

Posted (edited)

Just been looking at doing a final update of our Java before any charging comes in. We've not got much that runs on Java as far as I can tell, most of which is either running a bundled instance, or will be retired soon.

 

One gotcha that I have come across is that version 11 has done away with Java Web Start (javaws.exe, that opens jlnp files). This has been a show stopper for us, as the iDRAC cards on our Dell servers use Java Web Start to provide Virtual Consoles, ie, Java based remote control, of the server desktops.

 

For that reason I'm going with the most up to date version of 8, and probably stopping at that until all legacy Java apps have been replaced.

Edited by DavR
Posted

if you want a simply batch file for opendjk11 then this should do.

@echo off
if exist "%PROGRAMFILES%\jdk-11.0.1\bin" goto ENDOF
REM copy copy copy
xcopy \\\openJDK\jdk-11.0.1 "%PROGRAMFILES%\jdk-11.0.1" /h /r /y /e /i
REM now add to the path
echo %path%|find /i "%C:\Program Files\jdk-11.0.1\bin%">nul  || set path=%path%;%C:\Program Files\jdk-11.0.1\bin%
:ENDOF

Posted
That's easier said than done. Friggin' Papercut needs it, albeit one that's bundled with the software.

 

And so does the unifi controller for windows.:(

Posted (edited)

Ubiquiti state that it is concurrent users not APs/Switches that are important; A design maximum is 1000 concurrent users: https://help.ubnt.com/hc/en-us/articles/217549368-UniFi-How-many-APs-can-the-Cloud-Key-handle- This obviously depends on your own system. We have 47APs - a mixture of LR, AC-LR, outdoor, AC-M - (guest/voucher portal SSID on VLAN, SSID on VLAN and SSID on main) and as far as AP management the cloudkey doesnt break a sweat, a switch or two might easily break the 1000 mark of course but 1000 is quite a high number for pure APs . The actual software is the same, the same flaky mongodb, same flaky firmware updates, same flaky method of adding an SSL certificate for the guest portal, it is just the hardware that might not be up to snuff for you.

 

As far as management goes it is friendlier than the java service, device firmware can be updated with the click of a button, autobackups can be taken and rolled back by the click of a button (or downloaded off the device for storage). Obviously AP firmware is the same as separate controller with the same options. If you want you can even integrate into the ubiquiti online portal (we havent, our cloudkey connects to the internet only to check for updates when I choose to as it is firewalled off - I manually enable in the firewall when I want to look for an update). Migration to the cloudkey was a doddle, there is a migrate export from java service to cloudkey import. For £70 it was a no brainer for us. If it dies then I can always import the last backup I have into an onsite java (as this is supported too).

Edited by KK20
Posted (edited)

Dont forget that come-what-may javaws is gone, openjdk or not. Now for those with older idrac 710's etc, you can still leverage the remote connection but you need to load the .jar with a local JRE.

 

  1. make a base folder and create another folder within this called lib
  2. Copy a JRE folder from an older 8 installation with javaws, rename the folder jre and put it in the base (so we have BASE\jre\bin etc)
  3. download and edit a JNLP from your idrac.
  4. grab the 3 .jar files from the JNLP. There is a avctKVM.jar located at the top and 2x .jar depending on your platform, for windows mine were called avctKVMIOWin64.jar and avctVMWin64.jar
  5. extract the DLL from the platform section .jar - avctVMWin64.jar and avctKVMIOWin64.jar, put them in the folder called .\lib
  6. use the batch file below to access your idrac

 

the folder structure should be

BASE

jre

lib

 

the batch file to call the show:

@echo off

set /P drachost="Host: "
set /p dracuser="Username: "
set "psCommand=powershell -Command "$pword = read-host 'Enter Password' -AsSecureString ; ^
   $BSTR=[system.Runtime.InteropServices.Marshal]::SecureStringToBSTR($pword); ^
       [system.Runtime.InteropServices.Marshal]::PtrToStringAuto($BSTR)""
for /f "usebackq delims=" %%p in (`%psCommand%`) do set dracpwd=%%p

.\jre\bin\java -cp .\avctKVM.jar -Djava.library.path=.\lib com.avocent.idrac.kvm.Main ip=%drachost% kmport=5900 vport=5900 user=%dracuser% passwd=%dracpwd% apcp=1 version=2 vmprivilege=true "helpurl=https://%drachost%:443/help/contents.html"

 

depending on your original JRE copied, you may need to fiddle with the security settings. You may need to edit .\lib\security\java.security and comment out jdk.tls.disabledAlgorithms

 

You can use this method for other javaws or plugin pages (or minecraft!) such as older TREND systems etc.

Edited by KK20

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...