Windows .exe The never-seen-before problem...

  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

crasher44

New Member
Jul 29, 2019
32
0
0
Hi there.I posted a thread like 1 month ago which didnt quite ended well... İm trying to solve the problem by myself since then (atleast everytime when i see Direwolf20 uploads a new video) but there's not a single thing that can cause my problem...
Operating System, bit type: Windows 7 64 bit
Java version/update, bit type: Java 7, 51, 64 bit
Launcher version: 1.3.3
Completed the troubleshooting guide (y/n):y
Console log, pastebin.com link: http://pastebin.com/ZbzURUyR
Description of the problem: As you can see feed the beast thinks that i have 32 bit java... Im pretty sure that i dont have 32 bit java and other java programs are not seeing java as 32 bit, only feed the beast. Have any ideas about what is happening ? I was playing ftb too much till i formatted my pc and after the format first things i installed are Drivers,Java,Ftb. İ was thinking if there is a way that can say FTB "you know, that java you see there, if you look close enough its actually 64 bit"...
 

JWaggz

New Member
Jul 29, 2019
14
0
0
is it the
Java SE Development Kit 7u51?

I cant get FTB to recognize 64bit java unless that that specific one.
 

kittle

New Member
Jul 29, 2019
229
0
0
The problem is this one:
[19:44:43] [INFO] JavaFinder.parseWinJavaVersion:137: Java Version: 1.7.0_51 sorted as: 1.7.0_51 32 Bit Java at : C:\Windows\system32\java.exe

The default windows path is setup to have C:\windows\system32 first, so no matter what else you have installed, it will always use that 32bit java.

This was suggested on a different thread, so I will repeat it here
1) uninstall ALL VERSIONS of java
2) goto a command prompt and run:
java -version
you should see an error:
java is not recognized as an internal or external command,
operable program or batch file.

If you do not see this error, then STOP and report back on this thread.

3) reboot
4) re-install java
5) goto a command prompt and run:
java -version

You should see a x64 version.
6) run the FTB launcher
 

crasher44

New Member
Jul 29, 2019
32
0
0
nope didnt workout either after i rebooted and re-installed java java -version returned with 64 i said YESS to myself but ftb still sees java as 32 bit...
 

JWaggz

New Member
Jul 29, 2019
14
0
0
Hmm.. I guess you could always try deleting anything and everything FTB related off your computer and reinstalling? Though, the problem sounds a bit more technical than I first thought.
 

kittle

New Member
Jul 29, 2019
229
0
0
nope didnt workout either after i rebooted and re-installed java java -version returned with 64 i said YESS to myself but ftb still sees java as 32 bit...
So look where it found the 32-bit version of java and remove/rename that java.exe file.
Then re-run the ftb launcher.

Repeat until it finds the 64bit version of java you installed.
 

crasher44

New Member
Jul 29, 2019
32
0
0
So look where it found the 32-bit version of java and remove/rename that java.exe file.
Then re-run the ftb launcher.

Repeat until it finds the 64bit version of java you installed.
After i renamed that
http://pastebin.com/Ruzrwchg
this happened
"No Java versions found!" is the funny thing here while there's no java version it can still open itbtw only the console opened launcher didnt
 

crasher44

New Member
Jul 29, 2019
32
0
0
its not removing all versions from that link (only if you have older version)
but i can remove them normally ?
 

kittle

New Member
Jul 29, 2019
229
0
0
After i renamed that
http://pastebin.com/Ruzrwchg
this happened
"No Java versions found!" is the funny thing here while there's no java version it can still open itbtw only the console opened launcher didnt
Wierd.

So undo the rename, and re-run the launcher. Post the log where it finds the 32bit java version. Im gong to guess that it finds a 32bit version in the same place where you installed the 64bit version.
 

MajPayne21

New Member
Jul 29, 2019
185
0
0
The last time this happened was caused by the person installing the 64 bit Java package in another language. If this is the case, uninstall the 64 bit package and reinstall with English as the language and try again.

Sent from my SCH-I535 using Tapatalk
 

kittle

New Member
Jul 29, 2019
229
0
0
Here you go http://pastebin.com/tKabthyJ
third java it finds there is the one i installed for chrome to use java uninstaller app

ok ... try this:
close the launcher
open your windows explorer, and goto: C:\Program Files (x86)\Java\jre7\bin\
find the java application, and RENAME it to java_broken

If that still finds a 32bit java, then try this:
1) uninstall both versions of java (again)
2) reboot
3) open windows explorer, and goto C:\Program Files (x86)\ remove the folder named 'java' (if its there)
4) open windows explorer and goto C:\Program Files\ remove the folder named 'java' (if its there)
5) make sure it FAILS from the command prompt:
java -version
java is not recognized as an internal or external command,
operable program or batch file.


6) re-install 64bit java
7) make sure it works from a dos prompt:
java -version
java version <blah blah blah> ....


8) re-try the launcher
 

kittle

New Member
Jul 29, 2019
229
0
0
you renamed the wrong java file
you want the one here:
C:\program files (x86)\jre\java\bin\

NOT this one:
C:\program files\jre\java\bin\

as a general rule
windows puts 32bit programs in C:\Program Files (x86)\
and 64bit programs in C:\Program Files\

But from your screenshots, it seems something is installing the 32bit java into the 64bit folder.
Try the rename again, if that still doesnt work -- try this recommendation:
The last time this happened was caused by the person installing the 64 bit Java package in another language. If this is the case, uninstall the 64 bit package and reinstall with English as the language and try again.
 

crasher44

New Member
Jul 29, 2019
32
0
0
you renamed the wrong java file
you want the one here:
C:\program files (x86)\jre\java\bin\

NOT this one:
C:\program files\jre\java\bin\

as a general rule
windows puts 32bit programs in C:\Program Files (x86)\
and 64bit programs in C:\Program Files\

But from your screenshots, it seems something is installing the 32bit java into the 64bit folder.
Try the rename again, if that still doesnt work -- try this recommendation:
There is no java folder in ProgramFiles(x86)
Can 64 bit installers install 32 bit ? because i didnt installed any 32 bit java's.
if it cant install 32 bit there cannot be any 32 bit java installing into 64bit folder
and installer was in english
 

kittle

New Member
Jul 29, 2019
229
0
0
There is no java folder in ProgramFiles(x86)
Can 64 bit installers install 32 bit ? because i didnt installed any 32 bit java's.
if it cant install 32 bit there cannot be any 32 bit java installing into 64bit folder
and installer was in english
Good, so there is only 1 java installed.


Yes its possible for the 64bit installer to install both -- but they are not supposed to.

Im not sure what else to try. but some stuff you can check
open a dos prompt, and goto C:\program files\java\jre7\bin
run
java -version
and see if it says 32 or 64bit

If it says 64bit, then thats a bug in the FTB launcher (its the same place the launcher is supposedly finding a 32bit java).
If it says 32bit, then somehow you got the wrong java installer.

Another thing to check: Open windows task manager. Then go ahead and launch minecraft with the FTB launcher. While it is starting, look in windows task manager. Click on the "Processes" tab and look for a java.exe and/or javaw.exe Check to see if there is a "*32" after the name. If so, then it really is a 32bit java process. if the "*32" is missing then its actually a 64bit process and the FTB launcher is confused.

If you have time while minecraft is starting, right click on the java process and pick 'properties' and look at what it says under 'Location' that should say "C:\program files\java\jre\bin"

Edit:
Another thing you can do is search your entire PC for other copies of java
Goto a dos prompt.
first run this
CD \
Then run this
dir java.exe /s
and wait. this will take a while depending on how much stuff you have on your PC.