agirbal / umongo

Desktop app to browse and administer your MongoDB cluster
http://www.edgytech.com/umongo/
580 stars 94 forks source link

Umongo on WIN 7 - launch issue #264

Open danielpage opened 8 years ago

danielpage commented 8 years ago

When launching on WIN 7 the "green leaf" icon displays briefly and then disappears and the Umongo application does not load - no additional info is displayed... just no launch and a repeat gets the same.

In reviewing the docs command line launch info is provided: Aha! this should do the trick.. no go

command line invocation (win command prompt with and without "run as Admin") returns this:

C:\Program Files\MongoDB\Umongo>java -jar umongo.jar Error: Could not find or load main class com.edgytech.umongo.UMongo

Well says I - maybe it needs a path variable and did so adding the directory in which the Umongo jars reside to the WIN system path... no go - same result

Also tried: running umongo.exe with "run as admin" and with "win XP sp2" and with "special permissions" applied / no go same result...

BTW - Java versions 1.6.0_45 / 1.7 / 1.8.0_73 all installed and available and -Xms4096m (4GB) of memory allocated...

Methinks the build somehow did not include the main... current size of executable is "63 kb" seems awful small... although the driver seems to be an appropriate size (which I assume includes the "main") ...

sizes on jars: Directory of C:\Program Files\MongoDB\Umongo

02/19/2016 03:23 PM

. 02/19/2016 03:23 PM .. 06/01/2014 10:11 PM 190,418 gson-2.2.4.jar 06/01/2014 10:11 PM 54 logging.properties 06/01/2014 10:11 PM 589,444 mongo-java-driver-2.12.2.jar 06/01/2014 10:11 PM 2,304 README.rst 06/01/2014 10:11 PM 697,019 SwingFast.jar 06/01/2014 10:11 PM 64,000 umongo.exe 06/01/2014 10:11 PM 607,745 umongo.jar 7 File(s) 2,150,984 bytes 2 Dir(s) 36,417,953,792 bytes free

In any case the launch fails because the jvm cannot locate the main to start execution...

Hope this helps to ID the problem.

Regards,

Dan