744 Forum

Apron => Hangar 7 => Topic started by: farrokh747 on Mon, 29 Jun 2015 06:50

Title: Is the latest Java version useable?
Post by: farrokh747 on Mon, 29 Jun 2015 06:50
Hi Jan

Im using 10.9.5 (MBP Retina), and I had problems with java update 45 - i have gone back to update 31, and everything works fine -

There was an issue with the MBP Retinas, but that was solved (for me) by installing the JDK as well..

hope this helps,

fc


Edit HH. Split topic for latest updates.
Title: Re: Problems with latest Java version?
Post by: godot on Fri, 3 Jul 2015 13:30
Coincidentally, I've had severe problems with java versions higher than 1.8.0_31 with another software project (Tigase XMPP server running on Solaris x64). Although this doesn't say anything about its suitability for PSX, it establishes a trend that these newer java versions are ... dodgy.
Title: Re: Problems with latest Java version?
Post by: B747-400 on Fri, 3 Jul 2015 13:38
Hi

using Ver. 8 Upd. 31 (Build 1.8.0_31-b13) here ... rock solid ... no probs at all!

BR Hans
Title: Re: Problems with latest Java version?
Post by: honzavlk on Mon, 6 Jul 2015 21:08
Hi,

sorry for late reply.. I didn't have time to check it earlier..
I have just installed 10.0.5 (with new interfaces).. it told me still to install java besides i have the latest java installed. I checked java forum about this problem (program in OS X Yosemite requires java install but latest java is installed).. Solution is to install some kind of java package from apple (Java for OSX 2014-001).. So i did it.. I am now able to start PSX.. great progress.. but.. i think there is some problem (maybe conflict of the "two" java versions installed?).. FPS are very low.. around 21 fps.. (iMac with i5 and intel iris pro).. i have no problem running psx on my laptop (worse hardware config) with on board graphics around 72 FPS as usually..
and finally.. the MCP panel texture is missing somehow.. i really haven't seen this thing ever..  the PSX graphics is corrupted in certain areas )when i resize panel windows it gets stuck so the green lines dividing individual panels are everywhere.. I think it must be a java problem as PSX does not have its own "engine"..

I have copy of my PSX on my macbook air and i don't have these problems as i am having right now on the iMac.. Really strange.

Anyone has problems running PSX on OS X Yosemite ?

Jan
 
Quote from: Hardy HeinlinHi Jan,

please don't start PSX by clicking on Aerowinx.jar -- that will never work.

What version of PSX are you using?

And: Are you using the old or the new Interfaces? See http://aerowinx.com/forum/topic.php?id=2841


Regards,

|-|ardy
Title: Re: Problems with latest Java version?
Post by: Hardy Heinlin on Mon, 6 Jul 2015 21:36
Hi Jan,

you shouldn't use Java 1.8 update 45 if your MCP graphics are not correctly rendered or if your frame rate has dropped from 60+ to below 30. That's the typical problem of the buggy Java 1.8 update 45 on the Mac.

You need to install a lower Java update. See the posts above for some hints:

http://aerowinx.com/forum/topic.php?post=28241#post28241


Regards,

|-|ardy
Title: Re: Problems with latest Java version?
Post by: honzavlk on Mon, 6 Jul 2015 21:37
It doesn't work on my macbook air as well anymore.. But it used to work quite perfectly.. there must have been some "update" that is causing this problem..

J.
Title: Re: Problems with latest Java version?
Post by: honzavlk on Mon, 6 Jul 2015 21:38
Hi,

thanks.. will try to find some older version..

Jan.

Quote from: Hardy HeinlinHi Jan,

you shouldn't use Java 1.8 update 45 if your MCP graphics are not correctly rendered or if your frame rate has dropped from 60+ to below 30. That's the typical problem of the buggy Java 1.8 update 45 on the Mac.

You need to install a lower Java update. See the posts above for some hints:

http://aerowinx.com/forum/topic.php?post=28241#post28241


Regards,

|-|ardy
Title: Re: Problems with latest Java version?
Post by: farrokh747 on Tue, 7 Jul 2015 05:32
hi

http://www.oracle.com/technetwork/java/javase/archive-139210.html

for older versions -

In my case, update 45 caused issues.. I have gone back to _31 and it works fine - You may also have to install the JDK (update 31) as well, along with the JRE

MBP Mavericks

hope this helps

fc
Title: Re: Problems with latest Java version?
Post by: Sylle on Thu, 16 Jul 2015 12:10
Java 8 build 51
- works on my windows 8.1 pc
- does NOT work on my windows 7 pc (hangs at 79% with error 'exception in thread main')

Regards,
Sylvain
Title: Re: Problems with latest Java version?
Post by: Jeroen D on Mon, 10 Aug 2015 16:33
Gents,
I need to get rid of the Java 8 _45 as my Mac has developed some issue with it. Can anybody provide me with a step by step procedure how to go about it? I have looked around the web, but I don't understand anything I see out there.

Thanks

Jeroen
Title: Re: Problems with latest Java version?
Post by: joergalv on Mon, 10 Aug 2015 18:04
Jeroen,

per the official way published by Oracle you only need to delete the file JavaAppletPlugin.plugin.

To do this:
- Open the Finder
- Select Applications in the left column (i think this is optional)
- Enter JavaAppletPlugin.plugin into the search field (top right)
- Make sure that the search is covering the whole Mac, not only the applications folder
- JavaAppletPlugin.plugin should be found
- Move JavaAppletPlugin.plugin into the Trash

Removing the JDK is described at the bottom of the following link:
http://docs.oracle.com/javase/7/docs/webnotes/install/mac/mac-jdk.html

Hope that helps.
Joerg

btw.: With Java 8_51 i don't see the issues i had with 8_45 on my MBP
Title: Re: Problems with latest Java version?
Post by: Jeroen D on Mon, 10 Aug 2015 18:24
Hi Joerg,
Thanks. First part removing the plug in worked fine!

But I really don't know how to do this last bit to remove the JDK

QuoteTo uninstall the JDK, you must have Administrator privileges and execute the remove command either as root or by using the sudo(8) tool.

Navigate to /Library/Java/JavaVirtualMachines and remove the directory whose name matches the following format:*

How do I execute the remove command etc. navigate to etc.

Sorry, feel really stupid, but I have no idea!?
thanks
Jeroen
Title: Re: Problems with latest Java version?
Post by: joergalv on Mon, 10 Aug 2015 19:14
Hi Jeroen,

I see the guide from Oracle is made for system administrators, rather then normal users.
No problem though. You can also navigate to the file and delete it using Finder again.

- Open Finder
- locate & left click on the internal disk (Macintosh HD ?) in the left column
- in the right window find the folder Library and open it (left double click it)
- find the folder Java and open it
- find the folder JavaVirtualMachines and open it

Now you can move the folder jdk1.xxxx.jdk to the trash.
(You'll might be asked to provide your password)

Cheers,
Joerg
Title: Re: Problems with latest Java version?
Post by: Jeroen D on Mon, 10 Aug 2015 20:12
Quote from: joergalvNow you can move the folder jdk1.xxxx.jdk to the trash.
(You'll might be asked to provide your password)


Thanks Joerg,
That seems to have done the trick!! Phew!
I installed the _31 and did a quick check in PSX and at first glance everything is back to normal. I'll try my joystick and numpad later this week.

Glad I got it back to normal operations though.

Thanks for all your assistance, much appreciated!!

Jeroen
Title: Re: Problems with latest Java version?
Post by: joergalv on Mon, 10 Aug 2015 20:32
welcome. glad you sorted it out.

Joerg
Title: Re: Is the latest Java version useable?
Post by: United744 on Wed, 7 Oct 2015 21:57
This thread is a little old; does anyone use the latest (as of October 2015) JDK without problems?
Title: Re: Is the latest Java version useable?
Post by: evaamo on Wed, 7 Oct 2015 22:28
FWIW, I am using JDK 1.8_60 on a MacBook Pro Retina 13.3" (late 2013 model) with no issues at all. This is using the latest El Capitan.

I get better performance when running PSX in no-HiDPI modes (2560x1600). I use the utility rdm to switch display modes.

In addition to that, I have a Windows 10 bootcamp partition using the same display resolution and the same JDK version. Windows leads OS X by ~10% in terms of FPS, nothing to write home about.

Cheers,
-E 
Title: Re: Is the latest Java version useable?
Post by: cagarini on Sun, 1 May 2016 08:35
I was just forced to upgrade to the latest Java version, and running PSX standalone presents no problem, but I did find some quirks I was not experiencing before when running it with either XView or VisualPSX :-/

In X-Plane 10 I had to disable the "Real Terra Haze" plugin, and even the Python-based weather injector :-( and get XView injecting weather directly from PSX.

In FSX:SE with VisualPSX, I notice incompatibility with Active Sky. 

Well, I will probably revert back to the former Java version...
Title: Re: Is the latest Java version useable?
Post by: kiek on Sun, 1 May 2016 08:45
I always update (on Windows 10) immediately. Current version: 8 update 91 (build 1.8.0_91-b14).
No problems noticed (PSX, Visual PSX, RealTraffic).

Nico
Title: Re: Is the latest Java version useable?
Post by: cagarini on Sun, 1 May 2016 12:31
Thx Nico. Probably any other problem with my install then.
Title: Re: Is the latest Java version useable?
Post by: John H Watson on Thu, 26 Jan 2017 22:18
For info...  I've just updated to Java Version 8 Update 121 (build 1.8.0_121-b13) and my PSX frame rates have gone down to 8 per second on my Windows XP PC.

Anyone else still running XP?  ;D

Cheers
JHW
Title: Re: Is the latest Java version useable?
Post by: Icarus747 on Mon, 30 Jan 2017 14:14
I just installed it last night on a machine and PSX works fine.
Title: Re: Is the latest Java version useable?
Post by: John H Watson on Wed, 1 Feb 2017 02:41
Thanks... It looks like a have an issue with my computer graphics... I just cleaned the fans and heatsinks on my computer and so far so good.... Cancel the Java warning!

Cheers
JHW
Title: Re: Is the latest Java version useable?
Post by: cavaricooper on Fri, 27 Oct 2017 11:55
Getting ready to update Java across my network... latest version is jdk-9.0.1

http://www.oracle.com/technetwork/java/javase/downloads/jdk9-downloads-3848520.html

Any concerns with this version or am I good to go?

Ta!

C
Title: Re: Is the latest Java version useable?
Post by: United744 on Sun, 29 Oct 2017 13:42
Trailblazer! :P

Do you gave the 8 installer, just in case?
Title: Re: Is the latest Java version useable?
Post by: Kurt on Tue, 16 Jan 2018 09:24
JDK 9.0.1 installed - works flawlessly here on my Mac - It seems subjectively that PSX runs slightly better and keeps the 62 FPS more stable than version 8.

Kurt
Title: Re: Is the latest Java version useable?
Post by: Keith Maton on Mon, 26 Feb 2018 21:05
I just installed JDK 9.0.4 on my 27" 2017 retina iMac and I'm getting a very steady 62fps.
Title: Re: Is the latest Java version useable?
Post by: evaamo on Tue, 27 Feb 2018 00:40
I'd also like to report that PSX is running great using Zulu9, an OpenJDK (9.0.4) from Azul systems both on Windows and Mac.
Title: Re: Is the latest Java version useable?
Post by: pacwest18 on Tue, 28 Aug 2018 02:12
Just gave it a try on Oracle's JDK SE 10.0.2. All seems to be working well.

Tested it using a 2015 13" MacBook Pro with the latest version of Sierra (10.12.6) and under Win10 via Bootcamp on the same hardware.
Title: Re: Is the latest Java version useable?
Post by: asboyd on Thu, 30 Aug 2018 00:08
I was using 10.0.2 however it seems as though it occasionally causes PSX to start without any display on the screen (just completely brown) and then Java hangs, You have to use Task Manager to stop the process in order to restart PSX. It started happening after the July update to windows 10 and failed one out of every 5 or 6 starts. I have gone back to 8 181 and have not had a bad start yet....

Cheers,
Alex B
Title: Re: Is the latest Java version useable?
Post by: pacwest18 on Thu, 30 Aug 2018 00:43
Interesting. I did experience the brown screen startup once so far, but didn't think much of it. I'll have to keep an eye out for a recurring pattern.

Regards,
Stacius
Title: Re: Is the latest Java version useable?
Post by: asboyd on Thu, 30 Aug 2018 01:04
I was running PSX on 3 PC's one for flying (at present). One for testing hardware and one for driving my two CDUS.
I have had the issue on two of the PC's but never on the one that was running Java 8.. My CDU machine no longer needs PSX as it is using Nico's PSXseecon to give me the CDU displays, but I have rolled both of the PC's giving me trouble back to Java 8...

Cheers,
Alex B
Title: Re: Is the latest Java version useable?
Post by: GodAtum on Mon, 22 Oct 2018 19:03
For people's info, Java 10 crashes, this has been tested on 4 different PCs with Windows 10. Java 9 works fine.
Title: Re: Is the latest Java version useable?
Post by: United744 on Sun, 11 Nov 2018 02:05
I'm still on Java 8 (1.8.0_192). Runs fine. "If it ain't broke, don't fix it".

What does Java 9/10 offer, anyway?
Title: Re: Is the latest Java version useable?
Post by: Jeroen Hoppenbrouwers on Sun, 11 Nov 2018 13:14
(just some input from another point of view)

Even if newer versions don't 'offer' anything, lagging too far behind means that when you need it, you can no longer make the jump to current. Things such as Java move along, not only for features, but also for compatibility, performance, future requirements, and to drop arachaic deprecated stuff. It gets increasingly difficult to make the jump to the next version if you wait longer and longer. In industrial applications, staying current is a real headache, and holding onto an older version usually leads to big trouble later.

Of course, if jumping to current breaks things, don't! But you will need to allocate time to find out why, as the next jump is coming, and it won't necessarily fix your problem.

The number of installations I've seen (not PSX, anything) that got locked in a stone age well past because of the 'if it ain't broke, don't fix it' adagium cannot be counted on two hands. Aviation definitely has its share.


Hoppie
Title: Re: Is the latest Java version useable?
Post by: United744 on Sun, 11 Nov 2018 22:40
Agreed. Just lately I have seen the "latest" updates that force changes to the software using them (looking at you iOS), taken as an opportunity by the app developer to not fix the software, but radically change it from how it was in the previous incarnation, which I completely object to (several apps I was previously very happy with were "redesigned", and utterly broken by the changes).

I know PSX will remain PSX, but when something is working, why re-build it from scratch "just because of the latest update"?
Title: Re: Is the latest Java version useable?
Post by: Jeroen Hoppenbrouwers on Mon, 12 Nov 2018 09:48
No, indeed, rebuild from scratch is not the correct approach in many cases.

Well PSX was rebuilt from scratch when the platform changed   :-)


Hoppie
Title: Re: Is the latest Java version useable?
Post by: Hardy Heinlin on Tue, 5 Mar 2019 02:18
I'm running Apple OS X 10.9.5 with Java 11.0.2. No problems so far (almost; see edit below). Instructor map graphics seem to load faster by 20% compared to older Java versions. But I don't know if the new version is really the cause of this.


|-|ardy


Edit: This Java version tells PSX (the Java application) the window is "maximized" when the window size is nearly full screen size even if it hasn't been "maximized" but just enlarged by mouse dragging. When truly "maximized", clicking the Mac OS X maximize button will unmaximize it. Unmaximizing by clicking that button won't work if the window has been enlarged by mouse dragging. -- The problem for PSX is now that it will not command the stored layout size and position when PSX is informed that the window is maximized. Of course, the user wants to keep the maximized size when selecting a smaller layout. That's why the user maximized it. And that's why PSX will not reduce it when it's maximized. Now that "maximized" info from Java 11 is unreliable. To bypass this bug in Java 11, the next update PSX 10.70 will ignore the "maximized" signal from Java 11. Mac-Java 11 users who want to get a maximized window need to maximize their windows by mouse dragging. Just resave your modified layout pack file and the problem will be solved for good.

Mac-Java 11 bug workaround now available in PSX 10.70:

http://aerowinx.com/board/index.php?topic=4191.0


For reference: This Java bug seems to be related to this one which already existed before version 11:

https://bugs.java.com/bugdatabase/view_bug.do?bug_id=8158215
Title: Re: Is the latest Java version useable?
Post by: Hardy Heinlin on Fri, 22 Mar 2019 02:12
I now have Java 12 for the Mac and I see no difference to Java 11 so far.


|-|ardy