EQ2Interface.com
Search Downloads


Go Back   EQ2Interface > Featured Projects > ProfitUI

Reply
Thread Tools Search this Thread Display Modes
  #1  
Unread 09-19-2007, 11:41 PM
Escaav Escaav is offline
A Young Mystail Rat
 
Join Date: Jan 2007
Server: Kithicor
Posts: 5
Default Profit UI UPDATER

I have Java 1.6. I click the file. Nothing happens. It says the service is no longer available. Any ideas?
Reply With Quote
  #2  
Unread 09-20-2007, 12:37 AM
GeForceTony GeForceTony is offline
A Forest Scavenger
 
Join Date: Dec 2005
Server: Mistmoore
Posts: 17
Default

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.
__________________
Proud member of <Essence of Evil> (Mistmoore)


Fenuxx Reign - 70 Templar (MISTMOORE)
Salazzar Slytherine - 46 Shadowknight (MISTMOORE)
Fenixx Reigns - 20 Fury (MISTMOORE)
Faytalis Thunderstriker - 18 Necromancer (MISTMOORE)

Tulenroh Soulreaper - 25 Shadowknight (NAGAFEN)
Reply With Quote
  #3  
Unread 09-20-2007, 01:12 AM
gerlinde gerlinde is offline
A Young Mystail Rat
 
Join Date: Jun 2005
Server: Antonia Bayle
Posts: 3
Default

I too am unable to get it to run.

I get the following message:
Could not find the main class. Program will exit.

Last edited by gerlinde : 09-20-2007 at 01:20 AM.
Reply With Quote
  #4  
Unread 09-20-2007, 02:45 AM
Kaldran Kaldran is offline
A Griffon
 
Join Date: Nov 2004
Server: Valor
Posts: 358
Default

Quote:
Originally Posted by Escaav View Post
I have Java 1.6. I click the file. Nothing happens. It says the service is no longer available. Any ideas?
Please check if your firewall blocks outgoing connections on Port 88. Or just try again. Maybe the webserver was changing logfiles and skipped some requests.
Reply With Quote
  #5  
Unread 09-20-2007, 02:49 AM
Kaldran Kaldran is offline
A Griffon
 
Join Date: Nov 2004
Server: Valor
Posts: 358
Default

Quote:
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.
Quote:
Originally Posted by gerlinde View Post
Could not find the main class. Program will exit.
Not able to reproduce that yet. The manifest file and class naming are correct (since they get generated automatically anyways :P).
Please try to run it from command line: java -jar Updater.jar
Are you using Windows or another OS for updating?
Reply With Quote
  #6  
Unread 09-20-2007, 03:13 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

Quote:
Originally Posted by gerlinde View Post
Could not find the main class. Program will exit.
This happens if your system has an old java version. Please download the latest Java version first.

-> Installation instructions for the auto-updater.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #7  
Unread 09-20-2007, 03:26 AM
GeForceTony GeForceTony is offline
A Forest Scavenger
 
Join Date: Dec 2005
Server: Mistmoore
Posts: 17
Default

OK, tried it via the command prompt, and this is what I get:

Code:
C:\Temp>java -jar Updater.jar
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version 
number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)

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.
__________________
Proud member of <Essence of Evil> (Mistmoore)


Fenuxx Reign - 70 Templar (MISTMOORE)
Salazzar Slytherine - 46 Shadowknight (MISTMOORE)
Fenixx Reigns - 20 Fury (MISTMOORE)
Faytalis Thunderstriker - 18 Necromancer (MISTMOORE)

Tulenroh Soulreaper - 25 Shadowknight (NAGAFEN)
Reply With Quote
  #8  
Unread 09-20-2007, 03:40 AM
Kaldran Kaldran is offline
A Griffon
 
Join Date: Nov 2004
Server: Valor
Posts: 358
Default

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.
Reply With Quote
  #9  
Unread 09-20-2007, 03:44 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

If you have the latest version you should see the following:

Quote:
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)
Downloading the latest version is a good idea in any case since it contains security updates over previous versions you might have.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.

Last edited by gm9 : 09-20-2007 at 03:49 AM. Reason: added info on security updates
Reply With Quote
  #10  
Unread 09-20-2007, 03:50 AM
GeForceTony GeForceTony is offline
A Forest Scavenger
 
Join Date: Dec 2005
Server: Mistmoore
Posts: 17
Default

I get:

Code:
java version "1.6.0_02"
Java(TM) SE Runtime Environment (build 1.6.0_02-b06)
Java HotSpot(TM) Client VM (build 1.6.0_02-b06, mixed mode, sharing)
The exact same as gm9.


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 .
__________________
Proud member of <Essence of Evil> (Mistmoore)


Fenuxx Reign - 70 Templar (MISTMOORE)
Salazzar Slytherine - 46 Shadowknight (MISTMOORE)
Fenixx Reigns - 20 Fury (MISTMOORE)
Faytalis Thunderstriker - 18 Necromancer (MISTMOORE)

Tulenroh Soulreaper - 25 Shadowknight (NAGAFEN)
Reply With Quote
  #11  
Unread 09-20-2007, 04:11 AM
Kaldran Kaldran is offline
A Griffon
 
Join Date: Nov 2004
Server: Valor
Posts: 358
Default

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
Reply With Quote
  #12  
Unread 09-20-2007, 04:15 AM
aigor aigor is offline
A Fallen Diplomat
 
Join Date: Nov 2005
Server: Splitpaw
Posts: 54
Default

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)
__________________

Last edited by aigor : 09-20-2007 at 04:21 AM.
Reply With Quote
  #13  
Unread 09-20-2007, 04:33 AM
GeForceTony GeForceTony is offline
A Forest Scavenger
 
Join Date: Dec 2005
Server: Mistmoore
Posts: 17
Default

Quote:
Originally Posted by Kaldran View Post
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
OK the one you sent me works on both of my machines (one with Vista, one with XP)

Here are the specs of the 2 machines I'm using it on (as copied from my signature at NotebookForums.com:


Quote:
Originally Posted by GFT's NotebookForums.com Signature
Dell Inspiron XPS M1710
Intel Core 2 Duo T7600G (2.33GHz) | LG 17" WUXGA | 2GB DDR2-667 | NVIDIA GeForce Go 7950 GTX (575 Core/600 Memory) w/ NBF MobileForce XP 94.20 M4
160GB (7200RPM) HDD | DVD+/-RW | SB Audigy MB | Atheros AR5006EGS Wireless | Windows XP Home Edition

Dell Inspiron XPS M1710
Intel Core 2 Duo T7400 (2.16GHz) | LG 17" WUXGA | 2GB DDR2-667 | NVIDIA GeForce Go 7900 GS (375 Core/507 Memory) w/ NBF MobileForce VS 156.55 M6 (BETA)
120GB (5400RPM) HDD | DVD+/-RW | SB Audigy MB | Intel PRO/Wireless 3945ABG | Windows Vista Home Premium

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.
__________________
Proud member of <Essence of Evil> (Mistmoore)


Fenuxx Reign - 70 Templar (MISTMOORE)
Salazzar Slytherine - 46 Shadowknight (MISTMOORE)
Fenixx Reigns - 20 Fury (MISTMOORE)
Faytalis Thunderstriker - 18 Necromancer (MISTMOORE)

Tulenroh Soulreaper - 25 Shadowknight (NAGAFEN)
Reply With Quote
  #14  
Unread 09-20-2007, 04:46 AM
Kaldran Kaldran is offline
A Griffon
 
Join Date: Nov 2004
Server: Valor
Posts: 358
Default

Pretty weird.

Are you using Windows x64?

Guess I'll have to push the target5 build -.-
Reply With Quote
  #15  
Unread 09-20-2007, 04:49 AM
GeForceTony GeForceTony is offline
A Forest Scavenger
 
Join Date: Dec 2005
Server: Mistmoore
Posts: 17
Default

Nope, 32-Bit on both systems.
__________________
Proud member of <Essence of Evil> (Mistmoore)


Fenuxx Reign - 70 Templar (MISTMOORE)
Salazzar Slytherine - 46 Shadowknight (MISTMOORE)
Fenixx Reigns - 20 Fury (MISTMOORE)
Faytalis Thunderstriker - 18 Necromancer (MISTMOORE)

Tulenroh Soulreaper - 25 Shadowknight (NAGAFEN)
Reply With Quote
  #16  
Unread 09-20-2007, 05:07 AM
gm9 gm9 is offline
gm10-1
Premium Member
EQ2Interface Super Mod
Featured
 
Join Date: Feb 2006
Posts: 6,479
Default

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.
__________________
P R O F I T U I ∙ R E B O R N [Auto-Updater] | [Portal] | [F.A.Q.] | [Support Forums]
~ Retired ~
If it does not work, you likely installed it incorrectly. Always try a clean install before reporting bugs.
Reply With Quote
  #17  
Unread 09-20-2007, 06:10 AM
Kaldran Kaldran is offline
A Griffon
 
Join Date: Nov 2004
Server: Valor
Posts: 358
Default

Quote:
Originally Posted by aigor View Post
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)
Please do not try to run it with Java Web Start, that's not supported.
Reply With Quote
  #18  
Unread 09-20-2007, 06:13 AM
aigor aigor is offline
A Fallen Diplomat
 
Join Date: Nov 2005
Server: Splitpaw
Posts: 54
Default

and with what i try to run it?
__________________
Reply With Quote
  #19  
Unread 09-20-2007, 06:23 AM
Kaldran Kaldran is offline
A Griffon
 
Join Date: Nov 2004
Server: Valor
Posts: 358
Default

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

Last edited by Kaldran : 09-20-2007 at 06:27 AM.
Reply With Quote
  #20  
Unread 09-20-2007, 06:33 AM
aigor aigor is offline
A Fallen Diplomat
 
Join Date: Nov 2005
Server: Splitpaw
Posts: 54
Default

i use java.exe or javaw.exe but nothing works..sorry
__________________
Reply With Quote
  #21  
Unread 09-20-2007, 06:38 AM
Kaldran Kaldran is offline
A Griffon
 
Join Date: Nov 2004
Server: Valor
Posts: 358
Default

Pretty likely your installation is broken. Maybe you should uninstall and reinstall java.
Reply With Quote
  #22  
Unread 09-20-2007, 06:40 AM
aigor aigor is offline
A Fallen Diplomat
 
Join Date: Nov 2005
Server: Splitpaw
Posts: 54
Default

i'will try ^^
__________________
Reply With Quote
  #23  
Unread 09-20-2007, 06:59 AM
aigor aigor is offline
A Fallen Diplomat
 
Join Date: Nov 2005
Server: Splitpaw
Posts: 54
Default

nothing i've uninstalled and installed again java but nothing happens both with java.exe or javaw.exe..i don't know!^^
__________________
Reply With Quote
  #24  
Unread 09-20-2007, 07:52 AM
gerlinde gerlinde is offline
A Young Mystail Rat
 
Join Date: Jun 2005
Server: Antonia Bayle
Posts: 3
Default

Quote:
Originally Posted by gm9 View Post
This happens if your system has an old java version. Please download the latest Java version first.

-> Installation instructions for the auto-updater.

Yes, this appears to have been the issue. It's running now. Thanks!
Reply With Quote
  #25  
Unread 09-20-2007, 08:04 AM
Kaldran Kaldran is offline
A Griffon
 
Join Date: Nov 2004
Server: Valor
Posts: 358
Default

Quote:
Originally Posted by aigor View Post
nothing i've uninstalled and installed again java but nothing happens both with java.exe or javaw.exe..i don't know!^^
Please run it from the command line with
java -jar Updater.jar

and quote the error message. Right now I don't have the slightest clue what it might be.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:34 AM.


Our Network
EQInterface | EQ2Interface | WoWInterface | LoTROInterface | ESOUI | MMOUI