RyanVM Posted October 23, 2003 Share Posted October 23, 2003 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. Link to comment Share on other sites More sharing options...
flyakite Posted October 23, 2003 Share Posted October 23, 2003 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. Link to comment Share on other sites More sharing options...
RyanVM Posted October 23, 2003 Author Share Posted October 23, 2003 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. Link to comment Share on other sites More sharing options...
flyakite Posted October 23, 2003 Share Posted October 23, 2003 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. Link to comment Share on other sites More sharing options...
RyanVM Posted October 23, 2003 Author Share Posted October 23, 2003 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 Link to comment Share on other sites More sharing options...
flyakite Posted October 23, 2003 Share Posted October 23, 2003 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. Link to comment Share on other sites More sharing options...
RyanVM Posted October 23, 2003 Author Share Posted October 23, 2003 Glad to be of help . Just so you know, that setting has always been in the Java control panel . Link to comment Share on other sites More sharing options...
Marztabator Posted October 23, 2003 Share Posted October 23, 2003 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. Link to comment Share on other sites More sharing options...
RyanVM Posted October 23, 2003 Author Share Posted October 23, 2003 One is the offline install and one requires an internet connection (it downloads the files during setup). Download the one with the p. Link to comment Share on other sites More sharing options...
Marztabator Posted October 23, 2003 Share Posted October 23, 2003 But they're both roughly the same size. Check them out for yourself. I selected Offline installation in both of the links. Link to comment Share on other sites More sharing options...
RyanVM Posted October 23, 2003 Author Share Posted October 23, 2003 Couldn't tell you then. I went with the file Sun told me to download (p) and it works fine. Link to comment Share on other sites More sharing options...
Marztabator Posted October 25, 2003 Share Posted October 25, 2003 DOH! I think I must be going blind..... Link to comment Share on other sites More sharing options...
Rancor Posted October 25, 2003 Share Posted October 25, 2003 Thanks for the info, Ryan, was just considering using Sun Java when I spotted your thread Link to comment Share on other sites More sharing options...
1chaoticadult Posted October 28, 2003 Share Posted October 28, 2003 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. Link to comment Share on other sites More sharing options...
Aaron Posted December 9, 2003 Share Posted December 9, 2003 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 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now