Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (541)
Games in Android Showcase (133)
games submitted by our members
Games in WIP (603)
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 2199 times)
0 Members and 1 Guest are viewing this topic.
Offline elias4444

Junior Devvie





« Posted 2004-04-13 18: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

« JGO Spiffy Duke »


Medals: 220
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2004-04-13 18: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 Devvie




Psych'd about Java Games


« Reply #2 - Posted 2004-04-13 20: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!
Legends of Yore - The Casual Retro Roguelike
Offline D.t.O

Junior Devvie




Psych'd about Java Games


« Reply #3 - Posted 2004-04-13 20: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 02: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

« JGO Spiffy Duke »


Medals: 220
Projects: 24
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #5 - Posted 2004-04-14 04: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: 2


pixels! :x


« Reply #6 - Posted 2004-04-14 05: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 Devvie





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

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

Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #8 - Posted 2004-04-14 16: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 Devvie





« Reply #9 - Posted 2004-04-14 16: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!
Legends of Yore - The Casual Retro Roguelike
Offline oNyx

JGO Coder


Medals: 2


pixels! :x


« Reply #10 - Posted 2004-04-14 17: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 Devvie




Psych'd about Java Games


« Reply #11 - Posted 2004-04-15 02: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.

 

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

The first screenshot will be displayed as a thumbnail.

Mr.CodeIt (24 views)
2014-12-23 03:34:11

rwatson462 (55 views)
2014-12-15 09:26:44

Mr.CodeIt (45 views)
2014-12-14 19:50:38

BurntPizza (89 views)
2014-12-09 22:41:13

BurntPizza (112 views)
2014-12-08 04:46:31

JscottyBieshaar (83 views)
2014-12-05 12:39:02

SHC (92 views)
2014-12-03 16:27:13

CopyableCougar4 (100 views)
2014-11-29 21:32:03

toopeicgaming1999 (160 views)
2014-11-26 15:22:04

toopeicgaming1999 (159 views)
2014-11-26 15:20:36
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
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!