#1 2014-04-17 22:29:13

ArrrCee
Member

Quake Injector not running with Java 7?

I just upgraded my Java version to 7, as per the program suggestion and now Quake Injector won't run. Anyone else having this issue? According to the error, it says something about a tag in the XML not having an open bracket but I figured it had to be a java 7 issue. Here is the error I'm getting:

Error: Could not parse launch file. Error at line 0.

Then under the exception tab:
JNLParseException[ Could not parse launch file. Error at line 0.]
    at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
    at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main.access$000(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

Then under Wrapped Exception:
Failed to find the '<' charater that marks the end of a CDATA element. Exception parsing xml at line 0
    at com.sun.deploy.xml.XMLParser.skipPCData(Unknown Source)
    at com.sun.deploy.xml.XMLParser.nextToken(Unknown Source)
    at com.sun.deploy.xml.XMLParser.parse(Unknown Source)
    at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
    at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main.access$000(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

#2 2014-04-17 23:18:02

Spirit
Administrator

Re: Quake Injector not running with Java 7?

Weird! Is Java able to access the internet?

#3 2014-04-18 01:44:26

ArrrCee
Member

Re: Quake Injector not running with Java 7?

Yea, everything in Java 7 seemed to be working. What happened was it looked like either me or java inadvertently uninstalled Java 6 while installing 7. So Quake Injector jumped to using 7 instead and it just wouldn't load.

I just reinstalled 6 and pointed it to open with 6 and it works again. That was very strange though.

Word of note, anyone who installs 7, make sure you don't accidentally uninstall Java 6 or QI won't work anymore!

#4 2014-04-18 08:16:53

negke
Moderator

Re: Quake Injector not running with Java 7?

One more reason to finally make it standalone. If some skilled hobby programmer is reading this, come help us out!

#5 2014-04-18 11:18:16

Spirit
Administrator

Re: Quake Injector not running with Java 7?

It works perfectly well in Java 7 (openjdk on Linux) for me so I doubt it is Java's fault.
Java 7 has been out for 4 years! Unless people like to live dangerously then the vast majority of QI users are using Java 7.

#6 2014-04-18 13:28:46

ArrrCee
Member

Re: Quake Injector not running with Java 7?

Huh, I'm not really sure what happened then. I updated Java 7 to the latest update and that was the error I got. I went back to the last 6 release and it worked. Perhaps later I'll try the last 7 update before the current one.

#7 2014-04-18 14:37:27

Spirit
Administrator

Re: Quake Injector not running with Java 7?

I tried it in my Win 7 VM with both version 45 and the latest (55?) from java.com and it worked fine with both. What OS are you on?

#8 2014-04-18 19:41:51

ArrrCee
Member

Re: Quake Injector not running with Java 7?

I'm using Windows 7 Pro, 64 bit.

Last edited by ArrrCee (2014-04-19 03:49:54)

#9 2014-04-19 11:24:40

Spirit
Administrator

Re: Quake Injector not running with Java 7?

Could you try the following to test if Java has access to the internet:

Paste the code from http://docs.oracle.com/javase/tutorial/ … ngURL.html into a new file called URLReader.java
Use the commandline (cmd) to get into the same directory where you saved it. Then run:

javac URLReader.java
java URLReader

It should display some HTML.

#10 2014-04-19 13:38:40

ArrrCee
Member

Re: Quake Injector not running with Java 7?

Followed this tutorial (obviously switching the folder to use the current java 7 JDK) and it worked perfectly! All of the stuff from the oracle site showed up in the cmd prompt.

So I uninstalled 7 and did a fresh install of everything 7 related and re associated Quake Injector with it and now it works perfectly with 7. I have no idea what was going on, that was incredibly strange. But it's working now!

Thanks for your help Spirit!

#11 2014-04-19 17:26:53

Spirit
Administrator

Re: Quake Injector not running with Java 7?

Sweet, thanks for sticking to it! :)

Java on Windows is such a pain in the ass...

#12 2014-04-21 12:46:28

ArrrCee
Member

Re: Quake Injector not running with Java 7?

Oh sure, no problem!

#13 2014-05-31 17:57:10

ludicrous
Guest

Re: Quake Injector not running with Java 7?

Playing Quake with Windows 7.

Since twoday starting QuakeInjector i get

Database parsing failed! javax.xml.ws.http.HTTPException

I tried the hints in this thread (yes, java is in PATH) after de-installation of old java 7 and installing jdk1.8.0_05 and jre8.
Also tried to unblock java in Windows Firewall.
Messed around in some java forums and tried to understand.

Nothing works.

Any ideas?

(Perhaps finally I should begin playin' Quake under Linux ... Hope it's OK with my English, I'm from Germany).

Cheers
ludicrous

#14 2014-05-31 22:53:03

Spirit
Administrator

Re: Quake Injector not running with Java 7?

Sorry sorry sorry! The Injector is broken at the moment and will be a while. It does not support SSL. I just moved this site to a new server with a new configuration and have not figured out how to make an exception for the Injector. It is completely my fault and it will probably run just fine on your machine once fixed!

#15 2014-06-01 08:50:09

ludicrous
Guest

Re: Quake Injector not running with Java 7?

Thanx spirit.

And good 'cause it prompted me to try Quake under Linux. The first time ...
Didn't think it's so easy, quakespasm works perfectly, today I'll try darkplaces.

By the way, doesn't quakespasm support transparent water?
I patched with vispatch but it didn't work with  quakespasm, with darkplaces it's perfect.
OK, some work to do ...

Cheers
ludicrous

#16 2014-06-09 21:40:07

Icantthinkofanickname
Moderator

Re: Quake Injector not running with Java 7?

Hi ludicrous, Quakespasm does support transparent water, although it seems to handle water differently from DarkPlaces. I am a complete layperson, though, so I cannot help you with any technical information, but perhaps this post by erc (and in fact that entire thread) may be of help to you...

Board footer