[TVB-508] does not find x64 Java

For talk and Help about everything concerning TV-Browser.
Antworten
stevvie

[TVB-508] does not find x64 Java

Beitrag von stevvie »

When I run tvbrowser 2.7.1 i get an error tittled Launch4j "this application requires java runtime enviroment 1.5.0" but I already have JRE 6.10 from http://java.com/en/download/index.jsp.

I know java is installed and other things that require java (freeguide) are running.

I'm running XP x64 SP3 if this helps.

Thanks
ds10
Site Admin
Beiträge: 19191
Registriert: 23 Jun 2005, 12:36
Kontaktdaten:

Re: Error Running, says requires Java 1.5.0

Beitrag von ds10 »

What is shown when you type java -version in the DOS console.
"First they ignore you, then they ridicule you, then they fight you, then you win." - Mahatma Gandhi
Unterstütze die Weiterentwicklung von TV-Browser
Gast

Re: Error Running, says requires Java 1.5.0

Beitrag von Gast »

java version "1.6.0_10"
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) 64-Bit Server VM (build 11.0-b15, mixed mode)
Benutzeravatar
bodo
Site Admin
Beiträge: 19635
Registriert: 03 Dez 2003, 19:37
Wohnort: Köln
Kontaktdaten:

Re: Error Running, says requires Java 1.5.0

Beitrag von bodo »

Do you have other Versions that the 1.6 installed on your PC?
stevvie

Re: Error Running, says requires Java 1.5.0

Beitrag von stevvie »

I have only installed jre-6u10 from the website. this install of XP X64 SP2 is only about a month old so it's the only version that's been installed.
Benutzeravatar
bodo
Site Admin
Beiträge: 19635
Registriert: 03 Dez 2003, 19:37
Wohnort: Köln
Kontaktdaten:

Re: Error Running, says requires Java 1.5.0

Beitrag von bodo »

launch4j tries to find java with a few things:
  • Registry Key from Sun
  • JAVA_HOME environment variable
I am not a Windows-User, but you should be able to set JAVA_HOME to the Path of your Java-Installation with this few steps:
  • Right-click My Computer, and then click Properties.
  • Click the Advanced tab.
  • Click Environment variables.
  • Click one the following options, for either a user or a system variable
    • Click New to add a new variable name and value.
    • Click an existing variable, and then click Edit to change its name or value.
    • Click an existing variable, and then click Delete to remove it.
(Copied from here)

This should help.
TiKu

Re: Error Running, says requires Java 1.5.0

Beitrag von TiKu »

Same problem here with J2RE x64 1.6.0_11. It worked with J2RE 1.6.0_10 (32 bit version).
Benutzeravatar
bodo
Site Admin
Beiträge: 19635
Registriert: 03 Dez 2003, 19:37
Wohnort: Köln
Kontaktdaten:

Re: Error Running, says requires Java 1.5.0

Beitrag von bodo »

@Ds10: is it possible that launch4j is not compatible with java 64 bit?
ds10
Site Admin
Beiträge: 19191
Registriert: 23 Jun 2005, 12:36
Kontaktdaten:

Re: Error Running, says requires Java 1.5.0

Beitrag von ds10 »

Possible. But Windows x64 is able to emulate x32, but maybe then it only allows access to x32 code so the Java x64 is not found because the tvbrowser.exe will be executed as x32 (because it is 32x).

If that's the case you can create a shortcut that starts the tvbrowser.jar

Code: Alles auswählen

Target: javaw.exe -Dpropertiesfile=windows.properties -Xmx256m -jar tvbrowser.jar
Run in: C:\Program Files\TV-Browser
"First they ignore you, then they ridicule you, then they fight you, then you win." - Mahatma Gandhi
Unterstütze die Weiterentwicklung von TV-Browser
TiKu

Re: Error Running, says requires Java 1.5.0

Beitrag von TiKu »

This works, thank you.
Mathes.s

Re: Error Running, says requires Java 1.5.0

Beitrag von Mathes.s »

Hi,
yes there is an update for launch4j, which addresses the Problem that it won't find the x64 Java-Installation. I compiled tv-browser with the updated launch4j and now it runs just as it should be.

Mathes
Bananeweizen
Site Admin
Beiträge: 3353
Registriert: 09 Sep 2006, 22:45

Re: [TVB-508] does not find x64 Java

Beitrag von Bananeweizen »

Jaime17

Re: Error Running, says requires Java 1.5.0

Beitrag von Jaime17 »

ds10 hat geschrieben:What is shown when you type java -version in the DOS console.
I don't know too... Hoping that somebody will tell ot to us... :D
Good luck for the two of us...



_________________
Indianapolis SEO
Gast

Re: [TVB-508] does not find x64 Java

Beitrag von Gast »

Would be really good when the problem would be fixed.

Is there a timeframe?
Bananeweizen
Site Admin
Beiträge: 3353
Registriert: 09 Sep 2006, 22:45

Re: [TVB-508] does not find x64 Java

Beitrag von Bananeweizen »

It has been fixed in 2.7.3 already.
Antworten