View previous topic :: View next topic |
Author |
Message |
chamalscuro AuctionSieve guru
Joined: 14 May 2007 Posts: 118
|
Posted: Thu Feb 28, 2013 1:08 am Post subject: Java Virtual Machine |
|
|
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 |
|
 |
nev Site Admin

Joined: 15 Sep 2004 Posts: 1159 Location: Sydney, Australia
|
Posted: Thu Feb 28, 2013 10:48 pm Post subject: |
|
|
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 |
|
 |
nev Site Admin

Joined: 15 Sep 2004 Posts: 1159 Location: Sydney, Australia
|
Posted: Thu Feb 28, 2013 10:52 pm Post subject: |
|
|
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 |
|
 |
chamalscuro AuctionSieve guru
Joined: 14 May 2007 Posts: 118
|
Posted: Fri Mar 01, 2013 1:53 pm Post subject: |
|
|
Windows 7
I'll try your ideas a bit later and get back to you. Thanks! |
|
Back to top |
|
 |
chamalscuro AuctionSieve guru
Joined: 14 May 2007 Posts: 118
|
Posted: Fri Mar 01, 2013 3:05 pm Post subject: |
|
|
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.  |
|
Back to top |
|
 |
nev Site Admin

Joined: 15 Sep 2004 Posts: 1159 Location: Sydney, Australia
|
Posted: Fri Mar 01, 2013 11:39 pm Post subject: |
|
|
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 |
|
 |
chamalscuro AuctionSieve guru
Joined: 14 May 2007 Posts: 118
|
Posted: Sat Mar 02, 2013 2:01 pm Post subject: |
|
|
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.  |
|
Back to top |
|
 |
wickmesh AuctionSieve yoda

Joined: 04 Jun 2008 Posts: 284 Location: Burton on Trent, England
|
Posted: Thu Mar 07, 2013 10:20 am Post subject: |
|
|
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 |
|
 |
wickmesh AuctionSieve yoda

Joined: 04 Jun 2008 Posts: 284 Location: Burton on Trent, England
|
Posted: Thu Mar 07, 2013 6:10 pm Post subject: |
|
|
Interesting! Works fine at home (WinXP 32 bit). |
|
Back to top |
|
 |
wickmesh AuctionSieve yoda

Joined: 04 Jun 2008 Posts: 284 Location: Burton on Trent, England
|
Posted: Tue Mar 12, 2013 10:29 am Post subject: |
|
|
Even more confused - now the .exe works fine at work (Win 7 64 bit) as well... |
|
Back to top |
|
 |
wickmesh AuctionSieve yoda

Joined: 04 Jun 2008 Posts: 284 Location: Burton on Trent, England
|
Posted: Thu Mar 14, 2013 10:28 am Post subject: |
|
|
This morning at work - didn't work first time (same error), then did the second time... |
|
Back to top |
|
 |
chamalscuro AuctionSieve guru
Joined: 14 May 2007 Posts: 118
|
Posted: Thu Mar 21, 2013 2:48 pm Post subject: |
|
|
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 |
|
 |
nev Site Admin

Joined: 15 Sep 2004 Posts: 1159 Location: Sydney, Australia
|
Posted: Mon Mar 25, 2013 9:15 pm Post subject: |
|
|
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 |
|
 |
wickmesh AuctionSieve yoda

Joined: 04 Jun 2008 Posts: 284 Location: Burton on Trent, England
|
Posted: Tue Mar 26, 2013 10:20 am Post subject: |
|
|
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 |
|
 |
chamalscuro AuctionSieve guru
Joined: 14 May 2007 Posts: 118
|
Posted: Fri Mar 29, 2013 11:15 pm Post subject: |
|
|
Java version = 1.7.0_17
Operating System = windows 7 |
|
Back to top |
|
 |
|