Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (404)
games submitted by our members
Games in WIP (289)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Java version compatibility  (Read 1646 times)
0 Members and 1 Guest are viewing this topic.
Offline elias4444

Junior Member





« Posted 2004-04-13 20:52:21 »

Folks, I've got a new issue. You've all been so good to help with my past problems that I'm hopeful I can get some advice from you on this one.

Where I work, we've been using Java to create applets. Typically with version 1.4 via the swing API. I'm getting into the game development scene, but to be honest, most of these problems are coming from business apps. I've been really good to code to Java standards, but now with some of our companies new utility apps, my stuff is getting pounced on. Specifically, our companies new travel app (Extensity) and our server firewall app (eTrust Firewall), both require different versions of Java (Extensity actually REQUIRES the Microsoft JVM, and eTrust Firewall admin requires a specific version of Sun Java 1.3). Now that I'm thinking about it, even HP's secure web consoles required the Microsoft JVM.

So here's the real problem. Users are completely confused when they can't load my applets. I know that it's because they're running an out-of-date version of the JVM, but if I have them upgrade, then their business utilities don't work. I understand the issues with the Microsoft JVM, but what about Java 1.3.1? Shouldn't 1.4 be able to handle the same apps? Is there some sort of work around for this?

I'm concerned that as I release some of these games I'm working on, that users will have a hard time running them because of all the Java version conflicts out there. Or what if a newer version of Java is going to break compatibility with some API call I "back in version 1.4?"

Offline kevglass
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #1 - Posted 2004-04-13 20:58:34 »

Interesting, and this is why Sun were so peeved at MS. This problem actually came up today for me..

On the version of IE that I'm running (6 something or other) you can, in the advanced options, turn off the SUN Java VM and resort back the MSVM. Although not perfect this should allow support for both "types" of app.

Kev

Offline D.t.O

Junior Member




Psych'd about Java Games


« Reply #2 - Posted 2004-04-13 22:14:24 »

Are there any specifications regarding what the MS JVM supports? I hope the Sun JVM provides all Java features (is this even true Huh or does the Sun JVM also not behave as specified?), but I have no idea what the difference between the MS and Sun JVMs is.

Is it possible to develop for both Huh

(Or should I just use WebStart?)

Enjoy.
Regards,
     - D.t.O
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline D.t.O

Junior Member




Psych'd about Java Games


« Reply #3 - Posted 2004-04-13 22:18:10 »

Quote
On the version of IE that I'm running (6 something or other) you can, in the advanced options, turn off the SUN Java VM and resort back the MSVM. Although not perfect this should allow support for both "types" of app.

I don't understand (I am usually slow Embarrassed).
By turning of the Sun JVM, don't you lose support for, in elias4444's case, the eTrust Firewall, which requires Sun Java?

Enjoy.
Regards,
     - D.t.O
Offline Jeff

JGO Coder




Got any cats?


« Reply #4 - Posted 2004-04-14 04:28:51 »

Sounds like you need to scream at your firewall vendor for building a dependancy in to a non-standard VM.


Got a question about Java and game programming?  Just new to the Java Game Development Community?  Try my FAQ.  Its likely you'll learn something!

http://wiki.java.net/bin/view/Games/JeffFAQ
Offline kevglass
« League of Dukes »

JGO Kernel


Medals: 54
Projects: 20


Mentally unstable, best avoided.


« Reply #5 - Posted 2004-04-14 06:35:24 »

Quote

I don't understand (I am usually slow ).
By turning of the Sun JVM, don't you lose support for, in elias4444's case, the eTrust Firewall, which requires Sun Java?


Eeek! You thought I was advocating use the MSVM and only the MSVM! No No!

I simply meant that when the user wants to use one thing get them to swap VM, and vice vesa.

Kev

Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #6 - Posted 2004-04-14 07:29:12 »

We had one thing wich needed the MSVM and one thing wich needed a correct vm. So... we just disabled the sun vm, therefore all <applet> thingies runs with the MSVM and the other applet just used <object><embed> tags wich especially asked for the sun vm (thus overriding the defaulted MSVM).

However, generally Applets suck and are damn annoying. Use webstart were you can.

弾幕 ☆ @mahonnaiseblog
Offline elias4444

Junior Member





« Reply #7 - Posted 2004-04-14 15:11:01 »

oNyx, could you give me an example of the code for the <embed> or <object> tag?

Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #8 - Posted 2004-04-14 18:31:27 »

Well, there is a little tool to generate em out of applet tags automatically Smiley

http://java.sun.com/products/plugin/1.2/converter.html
http://java.sun.com/products/plugin/1.3/converter.html
(I used the 1.2 thing)

java HTMLConverter

-pick the html file with the applet tags you want to change to object/embed tags
-convert

and... that's it Smiley

弾幕 ☆ @mahonnaiseblog
Offline elias4444

Junior Member





« Reply #9 - Posted 2004-04-14 18:35:10 »

It doesn't seem easy using those when the web page is dynamically generated though.  Huh

Any thoughts?

Games published by our own members! Check 'em out!
Try the Free Demo of Revenge of the Titans
Offline oNyx

JGO Coder


Medals: 1


pixels! :x


« Reply #10 - Posted 2004-04-14 19:06:54 »

-generate it once (open the page with your browser)
-save the page
-run over it with the converter
-open it
-search for the <object> tag
-copy
-paste

Smiley

弾幕 ☆ @mahonnaiseblog
Offline D.t.O

Junior Member




Psych'd about Java Games


« Reply #11 - Posted 2004-04-15 04:22:25 »

Quote
Eeek! You thought I was advocating use the MSVM and only the MSVM! No No!

You read my mind - but I didn't read yours. My apologies Embarrassed.
Quote
I simply meant that when the user wants to use one thing get them to swap VM, and vice vesa.

I see Smiley

Enjoy.
Regards,
     - D.t.O
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars and Titan!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (43 views)
2013-05-17 21:29:12

alaslipknot (52 views)
2013-05-16 21:24:48

gouessej (80 views)
2013-05-16 00:53:38

gouessej (80 views)
2013-05-16 00:17:58

theagentd (89 views)
2013-05-15 15:01:13

theagentd (82 views)
2013-05-15 15:00:54

StreetDoggy (126 views)
2013-05-14 15:56:26

kutucuk (148 views)
2013-05-12 17:10:36

kutucuk (148 views)
2013-05-12 15:36:09

UnluckyDevil (158 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.116 seconds with 21 queries.