Hello Guest

Java System Property

  • 3 Replies
  • 6179 Views
Java System Property
« on: February 25, 2010, 18:18:16 »
Hello!, i have an issue. Inside the lwjgl launcher i put this -> System.setProperty("HelloTest","Test"); and in my applet game when i call System.getProperty("HelloTest"); it return null, why is that?

*

Offline princec

  • *****
  • 1933
    • Puppygames
Re: Java System Property
« Reply #1 on: February 26, 2010, 12:44:11 »
You can't set system properties from applets.

Cas :)

Re: Java System Property
« Reply #2 on: February 26, 2010, 21:04:10 »
if using plugin2 it should be possibl, shouldn't it? => java-vm-args in an <applet>enclosure.

*

Offline kappa

  • *****
  • 1319
Re: Java System Property
« Reply #3 on: February 26, 2010, 21:06:58 »
yes, but really why would you want to break backward compatibility on plugin1 just to use System Properties? :)

besides can't you just use Applet Parameters instead when using applets?