October 23, 200322 yr http://java.sun.com/j2se/1.4.2/download.htmlDownload the Windows Offline Installer for unattended installs.Unattended install method hasn't changed from 1.4.2_01.
October 23, 200322 yr Exactly how do you install this silently? Every Java release since 1.4.1 is not extractable, so I'm not quite sure what to do with this.
October 23, 200322 yr Author It's in the switches thread. I also posted it again two days ago. But just for kicks, here it is again:ECHO Installing Sun Java2 Runtime Environment 1.4.2_01...start /wait %systemdrive%\Updates\j2re142_01.exe /s /v"/qn ADDLOCAL=jrecore,extra REBOOT=Suppress"ADDLOCAL is currently set to install the core components (jrecore) and some extra stuff which I found useful (extra). There's one more option, but I forgot what it was . Just search Sun's site for silent install and look for the one with 1.4.2 in its URL.
October 23, 200322 yr Thanks Ryan. I never check the switches thread anymore, there's just too much **** info in there. And the search feature on here is a little qwirky at times.
October 23, 200322 yr Author No prob.Also, if you're like me and don't like the system tray icon that comes up when java applets load, put the following registry entry in:;No System Tray Icon for Java VM[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_02]"HideSystemTrayIcon"=dword:00000001
October 23, 200322 yr AWESOME! Thank you for that. That is the ONE thing that bothers me about SunJava more than anything else. I hate that stupid tray icon always popping up.
October 23, 200322 yr Author Glad to be of help . Just so you know, that setting has always been in the Java control panel .
October 23, 200322 yr There appears to be two different exes. Different names, different sizes.What exactly is the difference between them?'j2re-1_4_2_01-windows-i586.exe' can be grabbed from here.'j2re-1_4_2_02-windows-i586-p.exe' can be grabbed from here.
October 23, 200322 yr Author One is the offline install and one requires an internet connection (it downloads the files during setup). Download the one with the p.
October 23, 200322 yr But they're both roughly the same size. Check them out for yourself. I selected Offline installation in both of the links.
October 23, 200322 yr Author Couldn't tell you then. I went with the file Sun told me to download (p) and it works fine.
October 25, 200322 yr Thanks for the info, Ryan, was just considering using Sun Java when I spotted your thread
October 28, 200322 yr Here's some more switches for silent installation.IEXPLORER=1 ;Sets J2SE as Default Java VM for IEMOZILLA=1 ;Sets J2SE as Default Java VM for MozillaNETSCAPE6=1 ;Sets J2SE as Default Java VM for Netscape 6 or LaterINSTALLDIR=<drive>:\<install_path> ;Set Install Dir for J2SEExample:ECHO.ECHO Java 2 Platform, Standard Edition (J2SE) 1.4.2_02 is installingSTART /WAIT %SYSTEMDRIVE%\INSTALL\JAVA\j2re-1_4_2_02-windows-i586-p.exe /s /v"/qn ADDLOCAL=jrecore,extra IEXPLORER=1 INSTALLDIR=%SYSTEMROOT%\java REBOOT=Suppress"I think people get the idea. Sun's documentation is great.
December 9, 200322 yr Here's the documentation on it:http://java.sun.com/j2se/1.4.2/docs/guide/...ide/silent.html (make sure you don't use a space between /v and "/qn like they've outlined in their examples, because it won't work)I've been sprucing up my sun java installation just a few minutes ago, this is what I use to install core java files, and integrate into IE:j2re-1_4_2_01-windows-i586.exe /s /v"/qn ADDLOCAL=jrecore IEXPLORER=1"Then the following reg changes:Windows Registry Editor Version 5.00;Disable Java Update Check on Startup[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]"SunJavaUpdateSched"=-;Hide Tray Icon when Java is used in browser **Version sensitive!**[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Plug-in\1.4.2_01]"HideSystemTrayIcon"=dword:00000001
Create an account or sign in to comment