Ranges software installation problems
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Ranges software installation problems
Dears,
I was trying to install this application http://www.anatrack.com/try_ranges.php on Wine, but without success. After finish the Ranges software installation I tried to run the application which doesn't respond. Seems that some parts are lost during setup.
That software needs Java Version 8 suite or above and I tried JDK 8, which hangs at the end of installation (also I tested with JRE), but after wine reboot the Java suite appears in software manager as installed.
Someone could help me to fix this setup problem?
Tks,
Sergio
I was trying to install this application http://www.anatrack.com/try_ranges.php on Wine, but without success. After finish the Ranges software installation I tried to run the application which doesn't respond. Seems that some parts are lost during setup.
That software needs Java Version 8 suite or above and I tried JDK 8, which hangs at the end of installation (also I tested with JRE), but after wine reboot the Java suite appears in software manager as installed.
Someone could help me to fix this setup problem?
Tks,
Sergio
Re: Ranges software installation problems
Did you install Windows Java or Linux Java? (You need the former, not the latter.) And what "software manager" are you talking about? Wine doesn't have one, and if you mean your distro's package manager, that's showing Linux Java; apps installed in Wine wouldn't show up there at all even if successfully installed.Sergio_apf wrote: That software needs Java Version 8 suite or above and I tried JDK 8, which hangs at the end of installation (also I tested with JRE), but after wine reboot the Java suite appears in software manager as installed.
Current installers for Windows Java do hang in Wine (bug 40821), but according to the bug report, older installers worked. If you can find an older version of the installer, try that.
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
I installed Java 8 for windows and I should said "Wine control panel" instead. My distro is Debian and this software requires JRE 8 as a minimal java, but I will try a previous version for test.
I let you know if I have success here.
I let you know if I have success here.
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
I made the adjustments, as you told me, but Ranges ain't working yet.
Re: Ranges software installation problems
@Sergio_apfSergio_apf wrote:I made the adjustments, as you told me, but Ranges ain't working yet.
I was able to get Ranges 9 working OK using vanilla Wine version 2.17.
Get the current Oracle Java i586 Windows 8.144 build Java Runtime Environment (JRE) ...
NB that URL will break when Oracle release a new version of Java...
Setup and Installation:
Code: Select all
cd # change this to something else - directory where the new Wineprefix will be created
export WINEPREFIX="${PWD}/ranges_demo_32"
export WINEARCH=win32
wineboot -u
winetricks sandbox
winetricks -q ie8
winetricks win7
ln -s ~/Downloads/jre-8u144-windows-i586.exe . # Use 32-bit Oracle Java JRE (Runtime installer)
wine jre-8u144-windows-i586.exe
ln -s ~/Downloads/Ranges9Setup.msi .
wine msiexec /i Ranges9Setup.msi
Code: Select all
export WINEPREFIX="${HOME}/ranges_demo_32" # You changed the WINEPREFIX path above? Then you need to do that again here!!
cd "${WINEPREFIX}/drive_c/Program Files/Anatrack Ltd/Ranges 9"
wine start ranges.jar
Bob
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
Thanks for the help Bob!
I followed the steps exactly as you told me, but when I try to install java It hangs and I can't go any further.
Now I'm trying to do with the winehq-stable package (version 2.02).
The installation of a 32 bits software with Wine seems to be simple and I am not able to fix alone.
Sergio
I followed the steps exactly as you told me, but when I try to install java It hangs and I can't go any further.
Now I'm trying to do with the winehq-stable package (version 2.02).
The installation of a 32 bits software with Wine seems to be simple and I am not able to fix alone.
Sergio
Re: Ranges software installation problems
The Stable Wine package is a bit of misnomer - it basically has a tiny sprinkling of back-ported bug fixes - from the Development branch.Sergio_apf wrote:Thanks for the help Bob!
I followed the steps exactly as you told me, but when I try to install java It hangs and I can't go any further.
Now I'm trying to do with the winehq-stable package (version 2.02).
The installation of a 32 bits software with Wine seems to be simple and I am not able to fix alone.
Sergio
Patches that are guaranteed to not break things - but don't fix any bigger issues...
So Stable Wine is OK for running older Windows applications that won't receiving any updates and already work under Wine - pretty rubbish for anything else.
I believe you actually need Wine Staging 2.17 to perform the installation phase of the Oracle Java Runtime...
That's what I used originally... Then I switched to doing a Ranges test with Wine 2.17 - but the application was already installed.
So Wine 2.17 will run Ranges+Java - but only when they have been installed already...
The Oracle Java Runtime installer will hang with Wine 2.17.
Bob
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
How to install Oracle Java Runtime if the setup process hangs? I tested with stable wine and the same problem occurred. Any log file could help or should I open a new forum topic about Java?Bob Wya wrote: So Wine 2.17 will run Ranges+Java - but only when they have been installed already...
The Oracle Java Runtime installer will hang with Wine 2.17.
Bob
I am backing to Wine 2.17
Sergio
Re: Ranges software installation problems
But I actually suggested trying Wine Staging ...Sergio_apf wrote:I am backing to Wine 2.17Bob Wya wrote: So Wine 2.17 will run Ranges+Java - but only when they have been installed already...
The Oracle Java Runtime installer will hang with Wine 2.17.
Bob
Sergio
Bob
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
Unfortunately still hangs, even with Staging version.
What else could I do before give up?
Sergio
What else could I do before give up?
Sergio
Re: Ranges software installation problems
Why use a Windows Java version? I am able to run ranges.jar with openjdk-8-jre.
(Debian Sid openjdk-8-jre: 8u144-b01-1)
Install Ranges with:
Run Ranges with:
(Debian Sid openjdk-8-jre: 8u144-b01-1)
Install Ranges with:
Code: Select all
WINEPREFIX=/home/floris/wine-test /opt/wine-staging/bin/msiexec /i /home/floris/Downloads/Ranges9Setup.msi
Code: Select all
java -Xmx4096m -jar ranges.jar
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
I install Wine Staging 2.17 and I did exactly as described in your post, but no way to see Ranges running.
The prompt messages were copied below:
user@computer:~/.wine/drive_c/Program Files (x86)/Anatrack Ltd/Ranges 9$ java -Xmx4096m -jar ranges.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: ranges/RangesMain : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
The prompt messages were copied below:
user@computer:~/.wine/drive_c/Program Files (x86)/Anatrack Ltd/Ranges 9$ java -Xmx4096m -jar ranges.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: ranges/RangesMain : Unsupported major.minor version 52.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:803)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:442)
at java.net.URLClassLoader.access$100(URLClassLoader.java:64)
at java.net.URLClassLoader$1.run(URLClassLoader.java:354)
at java.net.URLClassLoader$1.run(URLClassLoader.java:348)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:347)
at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:312)
at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)
Re: Ranges software installation problems
This means your Linux Java version is to oldUnsupported major.minor version 52.0
What is the output of
Code: Select all
java -fullversion
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
java full version "1.7.0_151-b01"
Re: Ranges software installation problems
You need version 1.8.Sergio_apf wrote:java full version "1.7.0_151-b01"
Inotherwords a Java implementation supporting the API of Oracle Java SE 8 ...
Hence why I was installing:
jre-8u144-windows-i586.exe
in my tests...
Bob
Re: Ranges software installation problems
Hmmm. Nice catch.jkfloris wrote:Why use a Windows Java version? I am able to run ranges.jar with openjdk-8-jre.
(Debian Sid openjdk-8-jre: 8u144-b01-1)
...
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
I got the problem! I had openjdk-7-jre and openjdk-8-jre packages installed together. I removed openjdk-7-jre and run the command "java -Xmx4096m -jar ranges.jar" and It works fine.
Now, I can definitely put the windows machine aside.
Thanks, thanks a lot!!!
Sergio
Now, I can definitely put the windows machine aside.
Thanks, thanks a lot!!!
Sergio
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
I became so happy to soon. I was testing Ranges functions and all of Its functions are not working.
It could be because Ranges is running out of wine environment?
I believe the challenge is to install jre-8u144-windows-i586.exe inside Wine to make things works.
It could be because Ranges is running out of wine environment?
I believe the challenge is to install jre-8u144-windows-i586.exe inside Wine to make things works.
Re: Ranges software installation problems
If I understand you correctly you use the (open) Linux Java version and Ranges doesn't work as expected. If you use the Linux version, Wine is only used to unpack the msi installer and has nothing to do with Ranges anymore. At this point you have two options:
- Try to install Java 1.8 in Wine and run ranges.bat
- If the open source Java version doesn't work, try the Oracle Java version. (In Debian, install the java-package and build the package yourself.)
Conclusion you have 3 options:
- Wine with Oracle Java
- Linux with OpenJRE ( Based on your command this option doesn't work?)
- Linux with Oracle Java
- Try to install Java 1.8 in Wine and run ranges.bat
- If the open source Java version doesn't work, try the Oracle Java version. (In Debian, install the java-package and build the package yourself.)
Conclusion you have 3 options:
- Wine with Oracle Java
- Linux with OpenJRE ( Based on your command this option doesn't work?)
- Linux with Oracle Java
Re: Ranges software installation problems
If the software relies on Windows-only functions, yes. That's why most Windows Java programs don't work with Linux Java.Sergio_apf wrote:I became so happy to soon. I was testing Ranges functions and all of Its functions are not working.
It could be because Ranges is running out of wine environment?
According to the bug report, installers jre-8u55-windows-i586.exe and earlier don't hang. Those versions are no longer available from Oracle, but can be found on other sites.I believe the challenge is to install jre-8u144-windows-i586.exe inside Wine to make things works.
However, I was able to get the current Java installer to work in 2.17 (development, not staging) simply by installing IE8 with winetricks to a 32 bit wineprefix first. That's basically what Bob Wya said to do, but without winetricks sandbox (I'm not sure why he specified that). After that Ranges9 installed and started up fine, though I don't know enough about the app to tell whether or not everything was working.
Re: Ranges software installation problems
I just copied the commands I used verbatim... I always use:dimesio wrote:... That's basically what Bob Wya said to do, but without winetricks sandbox (I'm not sure why he specified that). ...
Code: Select all
winetricks sandbox
Bob
-
- Level 2
- Posts: 15
- Joined: Wed Sep 20, 2017 5:18 pm
Re: Ranges software installation problems
Hi,
I don know yet if It could be a problem with my Debian (jessie-x64) distro or the Java Runtime (jre-8u144-windows-i586.exe). You guys have the JRE runtime running in your wine environment, right? I tested with all WineHQ versions including i386 and x64 architecture and Its respective apps. I found this third part Java repository https://www.java32bit.com/ and I tested with a lot of earlier versions of JRE8. With all of those ends with "no update" message with the error code: 1627.
My challenge now is try to find a way to put Java Runtime 8 up inside WineHQ. Perhaps Ranges will work as It is expected.
Thanks for all of you!
Sergio
Unfortunately, I believe I pass through these 3 options without success.jkfloris wrote: Conclusion you have 3 options:
- Wine with Oracle Java
- Linux with OpenJRE ( Based on your command this option doesn't work?)
- Linux with Oracle Java
I don know yet if It could be a problem with my Debian (jessie-x64) distro or the Java Runtime (jre-8u144-windows-i586.exe). You guys have the JRE runtime running in your wine environment, right? I tested with all WineHQ versions including i386 and x64 architecture and Its respective apps. I found this third part Java repository https://www.java32bit.com/ and I tested with a lot of earlier versions of JRE8. With all of those ends with "no update" message with the error code: 1627.
I agree to you, I am not an expert with programing, but I have 95% of sure that Ranges relies on Windows-only functions. That's explain why Ranges starts fine and fail in the statistics operations.dimesio wrote:If the software relies on Windows-only functions, yes. That's why most Windows Java programs don't work with Linux Java.
My challenge now is try to find a way to put Java Runtime 8 up inside WineHQ. Perhaps Ranges will work as It is expected.
Thanks for all of you!
Sergio