www.auctionsieve.com
The AuctionSieve forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Post new topic   Reply to topic Goto page 1, 2  Next
View previous topic :: View next topic  
Author Message
chamalscuro
AuctionSieve guru


Joined: 14 May 2007
Posts: 118

PostPosted: Thu Feb 28, 2013 1:08 am    Post subject: Java Virtual Machine Reply with quote

Code:
Error: Could not create the Java Virtual Machine
Error: A fatal exception has occurred. Program will exit.


I'm getting this error out of the blue. AS won't load. I went to www.Java.com and installed the latest version of Java. Didn't help.
Back to top
View user's profile Send private message
nev
Site Admin


Joined: 15 Sep 2004
Posts: 1144
Location: Sydney, Australia

PostPosted: Thu Feb 28, 2013 10:48 pm    Post subject: Reply with quote

You're running Windows right? Which version?

From:
http://www.auctionsieve.com/downloads/

Try both the regular
AuctionSieveSetup.exe
and the other
AuctionSieveSetup-Jre.exe

Other than that, I can only think that maybe you've got the 64 bit version of Java? (32 bit is all that's necessary)
Back to top
View user's profile Send private message Visit poster's website
nev
Site Admin


Joined: 15 Sep 2004
Posts: 1144
Location: Sydney, Australia

PostPosted: Thu Feb 28, 2013 10:52 pm    Post subject: Reply with quote

Oh and one more thing - there's the possibility another program is interfering. Try running AuctionSieve on startup before anything else.

I had this problem a few years ago with MediaMonkey - I'd have to start IntelliJ before MediaMonkey.
Back to top
View user's profile Send private message Visit poster's website
chamalscuro
AuctionSieve guru


Joined: 14 May 2007
Posts: 118

PostPosted: Fri Mar 01, 2013 1:53 pm    Post subject: Reply with quote

Windows 7

I'll try your ideas a bit later and get back to you. Thanks!
Back to top
View user's profile Send private message
chamalscuro
AuctionSieve guru


Joined: 14 May 2007
Posts: 118

PostPosted: Fri Mar 01, 2013 3:05 pm    Post subject: Reply with quote

Uninstalled java, reinstalled. No joy. Tried both installs of AS, no joy.

Had me really scratching my head, 'cause this is my mini laptop, and I don't really use it for anything other than AS and the occasional web browsing. Not a lot of changes or updates.

Well here's what worked. Poking around through Google search results, somebody said "Try using the .jar instead"

Which I did. Used Auctionsieve.jar I saw in the AS folder (as opposed to the quick launch icons added to the desktop by the install). And it worked. So I've copied that icon onto my desktop for future use.

I don't know anything about Java (or programming for that matter), so maybe you can tell me why the .jar worked. Smile
Back to top
View user's profile Send private message
nev
Site Admin


Joined: 15 Sep 2004
Posts: 1144
Location: Sydney, Australia

PostPosted: Fri Mar 01, 2013 11:39 pm    Post subject: Reply with quote

Great!

A jar file is a Java Archive - like a zip file - it contains a bunch of Java files and other resources needed - images, some meta information about how to start the program etc.

Technically, I could just provide the jar file for people to download, and they'd place it somewhere and double click it to run it.

Wrapping it in an installer does a few things
- puts it in the 'proper' place (ie Program Files rather than some download directory where the user will likely leave it)
- provides an uninstaller (some shareware websites have this as a requirement before they host your software for download)
- adds a snazzy icon (though I think you can do this with a straight jar now)
- adds command line arguments to tell Java how much memory to run the program with

That last point may cause you problems because by default (as far as I can tell) the default ram given to a Java program is 256MB. So you may run out of memory. I can give you a workaround if you encounter this problem.

BTW Did you try running it after booting - and potentially shutting down stuff that gets run on startup - eg AirVideoServer, Vuze, etc?
Back to top
View user's profile Send private message Visit poster's website
chamalscuro
AuctionSieve guru


Joined: 14 May 2007
Posts: 118

PostPosted: Sat Mar 02, 2013 2:01 pm    Post subject: Reply with quote

I have tried running AS after a reboot. I've eliminated a couple of needless startup processes, really all that's left are the usual anti-virus, firewall, touchpad control, etc. Haven't installed anything lately. No doubt there's something I'm missing.

Still same error msg.

Jar still works, though I have to run it directly from the folder or via shortcut. I copied the jar file to my desktop at first, and it kept treating me like a new user.

Interesting that you say "adds command line arguments to tell Java how much memory to run the program with" - the vast majority of the Virtual Machine error fixes I saw involved adjusting java memory allocation in this or that file. But I don't know where you'd do that with AS or by what amounts; I get quickly out of my depth with this stuff. Smile
Back to top
View user's profile Send private message
wickmesh
AuctionSieve yoda


Joined: 04 Jun 2008
Posts: 264
Location: Burton on Trent, England

PostPosted: Thu Mar 07, 2013 10:20 am    Post subject: Reply with quote

Same error for me this morning. Win7 64 bit at work.

I'd be pretty sure it's due to a new Java update that installed yesterday both at home and at work and both times after I'd run AS.

I can confirm double clicking auctionsieve263.jar brings it back to life, and I've not lost my sieves or watchlists. From your previous comments Nev, this may affect the memory allocation etc though (which I thought the .exe did)?
Back to top
View user's profile Send private message Visit poster's website
wickmesh
AuctionSieve yoda


Joined: 04 Jun 2008
Posts: 264
Location: Burton on Trent, England

PostPosted: Thu Mar 07, 2013 6:10 pm    Post subject: Reply with quote

Interesting! Works fine at home (WinXP 32 bit).
Back to top
View user's profile Send private message Visit poster's website
wickmesh
AuctionSieve yoda


Joined: 04 Jun 2008
Posts: 264
Location: Burton on Trent, England

PostPosted: Tue Mar 12, 2013 10:29 am    Post subject: Reply with quote

Even more confused - now the .exe works fine at work (Win 7 64 bit) as well...
Back to top
View user's profile Send private message Visit poster's website
wickmesh
AuctionSieve yoda


Joined: 04 Jun 2008
Posts: 264
Location: Burton on Trent, England

PostPosted: Thu Mar 14, 2013 10:28 am    Post subject: Reply with quote

This morning at work - didn't work first time (same error), then did the second time...
Back to top
View user's profile Send private message Visit poster's website
chamalscuro
AuctionSieve guru


Joined: 14 May 2007
Posts: 118

PostPosted: Thu Mar 21, 2013 2:48 pm    Post subject: Reply with quote

Yeah I think wickmesh is right. Something about that last java update.

I'd been procrastinating the java update on my desktop. Finally did it about a week ago. I only reboot my machine every week or so. Rebooted last night, and - voila! - Java Virtual Machine error this morning just like I've been getting on my laptop.

Fortunately the jar file works.
Back to top
View user's profile Send private message
nev
Site Admin


Joined: 15 Sep 2004
Posts: 1144
Location: Sydney, Australia

PostPosted: Mon Mar 25, 2013 9:15 pm    Post subject: Reply with quote

Hey guys,

If you've got the time, go to
Tools->Options...->Browser tab
and copy the first two lines in the box at the bottom showing the Java version and Operating System and post them here.

Regarding the command line stuff, I can't figure out how to easily change it via shortcuts in windows.
If you bring up a command line (start menu->cmd)
then cd to the directory and you can do something like
java -Xmx1024m auctionsieve.jar
which will start it with 1gig of memory.
Back to top
View user's profile Send private message Visit poster's website
wickmesh
AuctionSieve yoda


Joined: 04 Jun 2008
Posts: 264
Location: Burton on Trent, England

PostPosted: Tue Mar 26, 2013 10:20 am    Post subject: Reply with quote

At work (where the .exe doesn't work most of the time):

Java version = 1.7.0_17
Operating System = windows 7

Kind Regards
Andrew
Back to top
View user's profile Send private message Visit poster's website
chamalscuro
AuctionSieve guru


Joined: 14 May 2007
Posts: 118

PostPosted: Fri Mar 29, 2013 11:15 pm    Post subject: Reply with quote

Java version = 1.7.0_17
Operating System = windows 7
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group