Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Disable Sun Java Console

Featured Replies

Does anybody know of a registry tweak which will accomplish this task?


%UserProfile%\Application Data\Sun\Java\Deployment\deployment.properties

#javaplugin.console=show

#javaplugin.console=hide

javaplugin.console=nothing

i think i've something to kick out the virtual java machine of windows will post u this tonight :hello:

  • Author
%UserProfile%\Application Data\Sun\Java\Deployment\deployment.properties

#javaplugin.console=show

#javaplugin.console=hide

javaplugin.console=nothing

THANKS!
i think i've something to kick out the virtual java machine of windows will post u this tonight :hello:

If you're talking about removing Microsoft's VM, they released a tool to do it for you. Just search for unmsjvm.exe

  • Author

I created a batch file to do this automatically. You can either insert the code below (minus the @ECHO OFF) into your main batch file to be run immediately after the JRE is installed or you can call the cmd file to do it.

@ECHO OFF
CD "%UserProfile%\Application Data"
mkdir Sun\Java\Deployment
ECHO deployment.console.startup.mode=disable >> Sun\Java\Deployment\deployment.properties

java.cmd

If it's run from the RunOnceEx process you can use the %APPDATA% variable, and if you use cmdow to hide command prompts it will look like

@echo off
cmdow @ /HID
CD %APPDATA%
MD Sun\Java\Deployment
ECHO deployment.console.startup.mode=disable >> Sun\Java\Deployment\deployment.properties

anyway many thanks RyanVM, i'll use it :thumbup

  • Author

I don't use RunOnceEx, so I didn't know that :P

Glad to be of help as always :)

  • Author

One thing I do like about the Java5 installer is that it doesn't create any shortcuts or start menu items anymore. Always nice :)

  • Author

Correct me if I'm wrong, but it looks like you can use the %appdata% environment variable from a command prompt in all circumstances. It's listed if you run the SET command.

Correct me if I'm wrong, but it looks like you can use the %appdata% environment variable from a command prompt in all circumstances. It's listed if you run the SET command.

inside windows of course but from PE...

until the second reboot (when you see the logonui screen) some variables are not defined yet, like for example %APPDATA%.

if you want to test it simply try to copy something to %APPDATA% from cmdlines.txt and add a pause to see the results at the end of the script

  • Author

OK, so if I'm running it from GuiRunOnce, it should be fine. Sounds good :)

  • Author

OK, the command is even easier. All that's needed (assuming you're running this from a point where %appdata% is a valid variable) is the following two lines:

MD "%appdata%\Sun\Java\Deployment"
ECHO deployment.console.startup.mode=disable >> "%appdata%\Sun\Java\Deployment\deployment.properties"

And for those of you who like calling separate batch files, attached is a cmd file with the same code + an @ECHO OFF command.

disablejavaconsole.cmd

if JRE installer will not overwrite an existing deployment.properties, make a default .properties and move it to $OEM$\$Docs\Default User\Application Data\Sun\Java\Deployment\deployment.properties. simple and apply to everybody, don't need to care about where you install the JRE.

  • Author
if JRE installer will not overwrite an existing deployment.properties, make a default .properties and move it to $OEM$\$Docs\Default User\Application Data\Sun\Java\Deployment\deployment.properties. simple and apply to everybody, don't need to care about where you install the JRE.

You'd have to do that at t12 so that the administrator account gets the file copied over when it's created.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.