Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (804)
Games in Android Showcase (239)
games submitted by our members
Games in WIP (868)
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 app idea  (Read 1699 times)
0 Members and 1 Guest are viewing this topic.
Offline bobjob

JGO Knight

Medals: 12
Projects: 4

David A M

« Posted 2015-12-09 13:37:14 »

This is a double post, from the LWJGL forum.

But I was wondering, now that applets are dead, is it possible to setup a java app that can load an LWJGL application with security restrictions. I was thinking this even as a general app for showcase/competition purposes (possibly open a '.jgo' text file to locate online resources, package version...). Just a basic application that takes the arguments of another applications main class and includes LWJGL in its class path (or other standardised java packages JME...), but with general security restrictions (except on LWJGL packages) to prevent harm to testers.

I understand JNLP's are an option, but accepting security certificates is still a bit of a concern. On the current version of MACOSX, unrecognised certificates get rejected automatically.

I figure it became a general java-gaming standard to game testing with security, it might take off. A sort of Java Steam for testers.

At the very least an app like this would work well for a gaming competition for people to test applications without fear of harm.

I was just wondering if this would even be possible. Before I look to heavily in to Java security, just wondered if this might lead to a dead end?
Offline kappa
« League of Dukes »

JGO Kernel

Medals: 123
Projects: 15


« Reply #1 - Posted 2015-12-09 14:05:28 »

The Java distribution landscape has changed alot and there is no guarantee anymore that computers even have a system JVM installed (let alone applet or java web start support).

Therefore the way to distribute java applications is to bundle it with your own jvm. In which case jvm sandboxing makes little sense (on top of the sandboxing most OS's have for local applications).

Its better to spend time looking at some of the web brower tech's that allow you to run Java applications in the browser (GWT, WebGL, Asm.js, EMScripten, TeaVM, etc) for app's which require sandboxing and need to be mass distributed like applets.
Offline Riven

« JGO Overlord »

Medals: 1371
Projects: 4
Exp: 16 years

Hand over your head.

« Reply #2 - Posted 2015-12-09 19:40:29 »

It is quite an effort for little gain, in my opinion. To get anywhere these days, we need standalone applications or android apps.

If anybody else would do it, just forget about sandboxing -  Sun/Oracle couldn't get it right, who are we to think we can, it's complex stuff. Just prompt the user 'You are about to launch this awesome game. [ play ] [ quit ]' and if the user dared to click [ play ], launch the app in a separate process, with the same privileges the parent app had. In the end any Steam app can be mallicious too, or just buggy to the point where it destroys your OS - we just don't even give it a second thought.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings!
Pages: [1]
  ignore  |  Print  

Riven (581 views)
2019-09-04 15:33:17

hadezbladez (5510 views)
2018-11-16 13:46:03

hadezbladez (2402 views)
2018-11-16 13:41:33

hadezbladez (5772 views)
2018-11-16 13:35:35

hadezbladez (1223 views)
2018-11-16 13:32:03

EgonOlsen (4661 views)
2018-06-10 19:43:48

EgonOlsen (5682 views)
2018-06-10 19:43:44

EgonOlsen (3198 views)
2018-06-10 19:43:20

DesertCoockie (4095 views)
2018-05-13 18:23:11

nelsongames (5115 views)
2018-04-24 18:15:36
A NON-ideal modular configuration for Eclipse with JavaFX
by philfrei
2019-12-19 19:35:12

Java Gaming Resources
by philfrei
2019-05-14 16:15:13

Deployment and Packaging
by philfrei
2019-05-08 15:15:36

Deployment and Packaging
by philfrei
2019-05-08 15:13:34

Deployment and Packaging
by philfrei
2019-02-17 20:25:53

Deployment and Packaging
by mudlee
2018-08-22 18:09:50

Java Gaming Resources
by gouessej
2018-08-22 08:19:41

Deployment and Packaging
by gouessej
2018-08-22 08:04:08 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‑
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!