osx - How to prevent the java process icon display in mac -



osx - How to prevent the java process icon display in mac -

when start java process, display java icon in dock under mac. have added next line .profile, still not working

export java_tool_options=-dapple.awt.uielement="true"

anyone help ?

either in java code, add together this:

system.setproperty("java.awt.headless", "true");

or @ command-line, add together this:

java -djava.awt.headless=true -jar myprog.jar

java osx

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -