Closed Bug 619543 Opened 9 years ago Closed 2 years ago

please add java7ea pdb's


(Socorro :: General, task)

Windows 7
Not set


(Not tracked)



(Reporter: timeless, Unassigned)


Rob's Notes:

Optional Steps:

1. Go to a "Release Version" of FF and disable Java and it's Plug-ins.

2. Use Windows "Add or Remove Programs" to remove Java, Java SDK, JavaFX, etc.

3. Get "FixJava" and run it:

REM Here's how to fix Java:
REM     * If you are able, uninstall all previous versions of Java in add/remove programs in your control panel.
REM     * Next, you may download the current version of Java here:
REM       I recommend that you use the offline installer version.
REM     * Now, download the fix:Attached File ( 336bytes ) Number of downloads: 3463
REM           Open the file, extract and run the file fixjava.bat . If you are using Windows Vista, or 
REM           Windows 7 you must right-click the fixjava.bat file and choose "Run As Administrator". If you do not 
REM           see the run as administrator option, drag the fixjava.bat file to your desktop and then try to run 
REM           as administrator from there.
REM           The batch file will run briefly without confirmation.
REM     * You may now install Java without any errors about it already being installed.
reg query hklm\software\classes\installer\products /f "java(tm) 6" /s | find "HKEY_LOCAL_MACHINE" > deljava.txt
for /f "tokens=* delims= " %%a in (deljava.txt) do reg delete %%a /f
del deljava.txt
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" /f
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\JavaSoft\Java Runtime Environment" /f

4. Run a "Registry Cleaner / Optimizer" such as "Glary Utilities" or "Advanced SystemCare"


Installation of "Debug Java":

1. Reboot and WAIT for Operating System to calm down.

2. Use Windows "Task Manager" to kill anything related to Java (jqs jusched java and javacpl).

3. Download the ".EXE Installer" and the "Debug Version" (the "Non-Debug .Jar Installer" is Optional)


4. Run the '.EXE' to install JDK-7, now you will have BOTH:
C:\Program Files\Java\jdk1.7.0\    AND
C:\Program Files\Java\jre7\

5. Type:
cd "C:\Program Files\Java\jdk1.7.0\"
java -jar jdk-7-ea-bin-b121-windows-i586-debug-09_dec_2010.jar

that should create: "C:\Program Files\Java\jdk1.7.0\fastdebug". You can not simply decompress the ".Jar Installer" since it contains a "License" that must be agreed to and the majority of the file is a huge file called "X_X" that is decompressed much like a "Solaris .ISO Image".

6. Your "Debug .DLLs" and associated .PDB / .MAP files are in "C:\Program Files\Java\jdk1.7.0\fastdebug\jre\bin" 

7. The ".Jar Installer" simply unzips to a directory - no "installing" so:

  7a. Just copy the files from "C:\Program Files\Java\jdk1.7.0\fastdebug\jre\bin\" to "C:\Program Files\Java\jre7\bin\"
  7b. Copy to "c:\WINDOWS\system32\" the "Debug Versions" of these files:


and also copy and java.pdb .

8. "npjp2" has a "Debug Version" but no associated .PDB / .MAP files.

9. Quadruple Check everything and Reboot. Visit here:

It MUST say:

Verifying Java Version
Oops! You don't have the recommended Java installed.
Your Java version is 1.7.0-ea-fastdebug. Please click the button below to get the recommended Java for your computer.

NOTE: If you recently completed your Java software installation, you may need to restart your browser (close all browser windows and re-open) before verifying your installation.
Download Free Java Software
Version 6 Update 23

That means you PROBABLY have everything correct but you still _could_ have missed a .dll (that ought to be a "Debug Version") or failed to copy a .PDB when you should have. If you don't get this far re-read and re-try again.

PS: If you make it back in one piece stay tuned for another Article about "Combining your .PDB Files into a "Symbol Store" (Preview:


In Section 5: If you type this and it doesn't work add the appropriate PATHs:
java -jar jdk-7-ea-bin-b121-windows-i586-debug-09_dec_2010.jar

This might work:
cd "C:\Program Files\Java\jdk1.7.0\"
..\jre7\bin\java -jar "C:\Documents and Settings\All Users\Documents\Downloads\jdk-7-ea-bin-b121-windows-i586-debug-09_dec_2010.jar"

Rebooting OFTEN (at the correct points during the Installation) will ensure that you are using the correct 'Java' and not mixing "Debug" with "Non-Debug"
versions when you are checking. 

REMEMBER: "..\jre7\bin\java -version" and the 'version' your Browser ends up using may NOT be the same if you don't copy all the files correctly. Make certain that NONE of the files are in use or any copying may be prevented.

ALWAYS COMPARE the file sizes, "Debug Versions" are larger.

Check "c:\WINDOWS\system32\deployJava1.dll" is 776,192 bytes and NOT 466,944 bytes.

Check that "dir /od c:\WINDOWS\system32\java*" and "C:\Program Files\Java\jdk1.7.0\fastdebug\jre\bin\java*" are the same sizes.


"C:\Program Files\Java\jre7\lib" to "C:\Program Files\Java\jre7\lib_NON-DEBUG"
"C:\Program Files\Java\jre7\bin" to "C:\Program Files\Java\jre7\bin_NON-DEBUG"

and copy
"C:\Program Files\Java\jdk1.7.0\fastdebug\bin" and "C:\Program Files\Java\jdk1.7.0\fastdebug\lib" to "C:\Program Files\Java\jre7\" .

Check your files, reboot, run (using cmd) "java -version" (it is in the PATH after a reboot) and use to test you are POSSIBLY working OK.

Don't forget to make sure you copied "C:\Program Files\Java\jdk1.7.0\fastdebug\jre\bin\new_plugin\npjp2.dll" over to "C:\Program Files\Java\jre7\bin\new_plugin\npjp2.dll" .

Good Luck!,
Creating a "Symbol Store":

1. Open Shell

2. Create "Symbol Store"
"c:\Program Files\Debugging Tools for Windows (x86)\symstore.exe" add /o /r /p /l /f "C:\Program Files\Java\jre7\bin\*.*" /s c:\java-symbol-store /t "Java7ea" /v "Java7ea 2010-12-09"  /c "Adding Java7 EA symbols"

3. Look at "Symbol Store"
"c:\Program Files\Debugging Tools for Windows (x86)\symstore.exe" query /o /f "C:\Program Files\Java\jre7\bin\*.pdb" /s c:\java-symbol-store

To use (this particular) "Symbol Store" simply use this line after the other similar one:

.sympath+ c:\java-symbol-store


PS: Note that Bug 618220 comment 36 suggests a naming scheme to be used with 't' and 'v' commands; I have only used what was suggested to me. These commands subject to errors and updates.
Component: Socorro → General
Product: Webtools → Socorro
no longer interesting
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.