• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Strange VM Question

 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to force the JVM to initialize itself without actually launching an applet?
I notice that when I initialy launch my applet, the Java Console shows up and the applet gets loaded and launched.
Then if I close the Browser and then come back to the applet, it launches quite a bit faster. And I know it is not because it is pulling a cached JAR file, because I turned that off, plus the applet is like 30 K plus I am on LAN and not Dial-up.
My thinking is that if you could get the VM up at some point before actually launching the applet, then when the user clicks to load the applet, it may load quicker??
Of course, chances are I don't know what I am talking about. So someone can correct me or help me out.
Thanks.
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Perhaps you could try creating an "empty" Applet and launching that first, then your REAL Applet would be launched "later"?
Of course I don't know if this is true or if the behavior is browser dependant, soooooo . . .
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I thought about that. I will give it a try and let know what happens.
Thanks Cindy.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic