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)

Weird! Is Java able to access the internet?

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!

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

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.

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.

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?

I’m using Windows 7 Pro, 64 bit.

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

Paste the code from http://docs.oracle.com/javase/tutorial/networking/urls/readingURL.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.

Followed this http://www.skylit.com/javamethods/faqs/javaindos.html (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!

Sweet, thanks for sticking to it! :slight_smile:

Java on Windows is such a pain in the ass…

Oh sure, no problem!

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

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!

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

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 https://www.quaddicted.com/forum/viewtopic.php?pid=813#p813 by erc (and in fact that entire thread) may be of help to you…