![]() |
Profit UI UPDATER
I have Java 1.6. I click the file. Nothing happens. It says the service is no longer available. Any ideas?
|
I too get an error:
"Could not find the main class. Program will exit." I've tried it with both Java 1.5.0.12 and Java 1.6.0.2, same thing on both. I had this error come up once in a Java program I did back in High School (with Java 1.4) and it turned out to be a typo with the main class' naming and what it was being called as. |
I too am unable to get it to run.
I get the following message: Could not find the main class. Program will exit. |
Quote:
|
Quote:
Quote:
Please try to run it from command line: java -jar Updater.jar Are you using Windows or another OS for updating? |
Quote:
-> Installation instructions for the auto-updater. |
OK, tried it via the command prompt, and this is what I get:
Code:
C:\Temp>java -jar Updater.jar This is using either Java 1.5.0.12 or Java 1.6.0.2 (the latter is the latest version available from Sun) Also happens in either Windows XP or Windows Vista, and on 3 different computers, (my 2 and my friends, at a different location). I also made sure that port 88 is open and available, and it is. |
That means your java version is not able to understand the bytecode. This usually happens if the program is compiled against a newer version of java than you are trying to use it with.
I know I get annoying with this, but please check your java version again by using java -version at command line. The current version is 1.6.0.2 Build 6. The updater got compiled against Build 5. |
If you have the latest version you should see the following:
Quote:
|
I get:
Code:
java version "1.6.0_02" And no worries about this, I author modified NVIDIA video drivers for laptops, so I'm used to troubleshooting, and am glad to help any way I can :) . |
I've sent you a PM with the updater compiled for target VM 1.5, please try that. If it works, your class loader has a serious problem, if it does not, well, serious problem too :P
|
nothing happen i have this error
MissingFieldException[ Il seguente campo obbligatorio non è contenuto nel file di avvio: <jnlp>] 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.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$1.run(Unknown Source) at java.lang.Thread.run(Unknown Source) my version is 1.6 Version 6 Update 2) |
Quote:
Here are the specs of the 2 machines I'm using it on (as copied from my signature at NotebookForums.com: Quote:
I'm gonna try re-imaging to a stock/original install of Windows (on both machines) and installing fresh copies of Java on both, and try the original updater. |
Pretty weird.
Are you using Windows x64? Guess I'll have to push the target5 build -.- |
Nope, 32-Bit on both systems.
|
Ok, the download has been updated with that version. Hopefully this will now work for everyone. Get it here if you had problems with the old version.
|
Quote:
|
and with what i try to run it?
|
You need to use java.exe or javaw.exe instead of javaws.exe (which is webstart).
Your OS should not try to launch .jar files with WebStart, so please check your configuration. Make it so it always opens .jar files with javaw.exe You can still start it up manually at command line with: java -jar Updater.jar |
i use java.exe or javaw.exe but nothing works..sorry
|
Pretty likely your installation is broken. Maybe you should uninstall and reinstall java.
|
i'will try ^^
|
nothing i've uninstalled and installed again java but nothing happens both with java.exe or javaw.exe..i don't know!^^
|
Quote:
Yes, this appears to have been the issue. It's running now. Thanks! |
Quote:
java -jar Updater.jar and quote the error message. Right now I don't have the slightest clue what it might be. |
Quote:
|
Quote:
|
I am unable to get the jar file to launch as well. I downloaded the latest version of java just to make sure but still no love. When I double-click Update.jar nothing happens, don't even get an error message. After reading this thread i tried it from a dos prompt and got the following:
C:\Program Files\Support Tools>java -jar "C:\Program Files\Sony\EverQuest II\UI\ ProfitUI\ProfitUI Updater\Updater.jar" Exception in thread "AWT-EventQueue-0" java.util.MissingResourceException: Can't find resource for bundle java.util.PropertyResourceBundle, key Application_file s_not_found_or_broken at java.util.ResourceBundle.getObject(Unknown Source) at java.util.ResourceBundle.getString(Unknown Source) at de.pala.updater.GUI.Main.<init>(Main.java:96) at de.pala.updater.GUI.Main$8.run(Main.java:431) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source) Any help would be much appreciated. |
Quote:
A console window opens up. Type java -jar "<full path to updater>\Updater.jar" <full path to updater> depends on where you installed it to. For example, it you placed it in C:\Program Files\ProfitUI Updater, you would type the following: java -jar "C:\Program Files\ProfitUI Updater\Updater.jar" Then some error message will be output which you can copy and paste here so Kaldran can have some fun with it. ;) Note to self: update the download once more and include a batch file for automatically creating an error.txt log file. |
Quote:
|
Quote:
Since it should not display this message anyways if all files are in place, please check your installation carefully (and extract the files so you have a lib and config directory as well), and it will start up ignoring this error. |
Quote:
java -jar Updater.jar |
Semi-Rude Qestion: why not just use a .NET runtime (like eq2maps updater)? Then you have no issues with the correct java version (which we have to manually maintain), and those of us that don't want to install the java runtime can use the updater also.
Sorry, I have had issues with the java runtime in the past with version control and getting mutiple apps working, that when I built my latest computer I told myself I would not install the Java Runtime and not use apps requiring Java runtime. (Or could we just get the manual update version of the Profit UI maintained on the same timeline as the auto updated version) |
I do not develope applications often, but when I do it is usally necessary that they can run in Windows and Linux. Java is a pretty good choice there, so I am used to code in java. Actually I would not even know where to get a free .net IDE and compiler at all :P
And it's not like you don't have any version problems with .net. I have lost already many hours in my life trying to solve errors with .net applications. Bonus is, it gets updated via Microsoft Update, but Java updates itself too. |
gjsi, my standard response to requests for auto-updaters has always been: "If you want one, code it for me and I may use it". During all this time Kaldran is the only one that delivered, and what he delivered is good. You should all be very happy that he took the time to create the auto-updater, host the files and even support it on here!
Of course you could do an auto-updater in any other programming language. If you want one, make me one. :p (and doing it in .NET really just puts another name on the same problems.) Quote:
|
is the server running the updates actually down?
i have opened port 88 and went as far as turning off my firewall and still getting the message. the update service is not available at the present time. please try again later.
was just curious if it is down atm or if this message pops up if perhaps the server in overloaded? |
As far as I can tell it's pumping the data pretty smoothly right now.
You may want to open http://updater.pala.de:88/ in your webbrowser. If you get a 404 error-page, it should work. If you get a message about the browser not being able to connect or so, there's a problem at your or your ISPs side. I'm sorry it's not running on standard port 80 so far, but I wanted to include some fail safe mechanics, so I can shutdown the updating service if too many connections are hitting the server without taking down all other hosted sites. Maybe I could switch over to SSL port 443 which should not be blocked on most firewalls. |
Unless you need port 443 for other hosted sites that might be a good idea actually.
|
tried running the address in my browser i just get website not found no error code with both internet explorer 7 and firefox
|
All times are GMT -5. The time now is 10:36 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI