v83 Java problem

Page 1 of 2 12 LastLast
Results 1 to 25 of 27
  1. #1
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    v83 Java problem

    First thing first, I've made a v83 server before, but somehow the source was deleted off my computer, and anytime I tried making it again I would always get an error while building the .jar in NetBeans, but anyways, I fixed that, and now I have a Java problem.

    It is sort of like this thread, but not v62.

    http://forum.ragezone.com/f566/maple...r-java-773598/

    I would get that Error. Thing is, I have all the correct Java Files, all the Unl Str files, all in the right place. But I still get that error.

    Don't know what I'm doing wrong, if you can help me that would be fantastic.
    I'm not really a great coder so..


  2. #2
    BloopBloop Hilia is offline
    MemberRank
    Aug 2012 Join Date
    905Posts

    Re: v83 Java problem

    Show you'r error.
    Last edited by Hilia; 16-10-13 at 05:55 PM.

  3. #3
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem



    I'm using JDK 1.7.0_45
    And it says that the Unl Str files aren't signed by a trusted user, but I got them directly off the Oracle site thing.

  4. #4
    Valued Member namazi is offline
    MemberRank
    Feb 2012 Join Date
    JapanLocation
    133Posts

    Re: v83 Java problem

    Isn't the JCE(6) file of JAVA6 put into JAVA7?

    Please download JDK7 and JCE7.
    (Now, I think that anyone can't download JDK6 and JCE6)

  5. #5
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    Quote Originally Posted by namazi View Post
    Isn't the JCE(6) file of JAVA6 put into JAVA7?

    Please download JDK7 and JCE7.
    (Now, I think that anyone can't download JDK6 and JCE6)
    UnlimitedJCEPolicyJDK7 That is what I downloaded and put into the locations, and I still get the error.

  6. #6
    Valued Member namazi is offline
    MemberRank
    Feb 2012 Join Date
    JapanLocation
    133Posts

    Re: v83 Java problem

    Is intended JAVA.exe used?
    Please check in following bat.
    (I think that old java.exe on %SystemRoot% is used.)

    vercheck.bat:
    Code:
    @echo off
    set INST_JAVA=C:\Program Fles\Java
    REM set INST_JAVA=C:\Win32app\Java
    
    REM for /F "usebackq" %%i in (`dir /s /b %INST_JAVA%\*`) do (
    echo -----
    for /F "usebackq" %%i in (`dir /b %INST_JAVA%\jdk1*`) do (
    echo [%INST_JAVA%\%%i]
    "%INST_JAVA%\%%i\jre\bin\java" -version
    )
    echo -----
    for /F "usebackq" %%i in (`dir /b %INST_JAVA%\jre*`) do (
    echo [%INST_JAVA%\%%i]
    "%INST_JAVA%\%%i\bin\java" -version
    )
    echo -----
    for /F "usebackq" %%i in (`dir /b %INST_JAVA%\server-jre-*`) do (
    echo [%INST_JAVA%\%%i]
    "%INST_JAVA%\%%i\bin\java" -version
    )
    
    echo -----
    echo [SystemRoot32]
    %SystemRoot%\System32\java -version
    echo [SystemRoot64]
    %SystemRoot%\SysWOW64\java -version
    echo [Direct-java]
    java -version
    
    echo -----
    for /F "usebackq" %%i in (`dir /b %INST_JAVA%\jdk1*`) do (
    echo [%INST_JAVA%\%%i]
    "%INST_JAVA%\%%i\bin\javac" -version
    )
    echo [Direct-javac]
    javac -version
    
    echo -----
    echo JAVA_HOME=%JAVA_HOME%
    echo PATH=%PATH%
    
    echo -----
    echo Finished.
    
    pause
    Last edited by namazi; 17-10-13 at 08:56 AM. Reason: Auto detect Java folder.

  7. #7
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    I looked for the .bat on my computer, and nothing came up. Also in the %SystemRoot% you said there was a Java folder? Well I looked inside and there wasn't one.

    fucking ddos man.

  8. #8
    - potimus is offline
    MemberRank
    Dec 2012 Join Date
    Ontario, CanadaLocation
    330Posts

    Re: v83 Java problem

    Even though you said you had them in the right places, make sure you re-check the unlimited str files again. Also, I assume you already have wamp running right?

  9. #9
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    Quote Originally Posted by potimus View Post
    Even though you said you had them in the right places, make sure you re-check the unlimited str files again. Also, I assume you already have wamp running right?
    Wamp, yes. And I've checked he unl str files like 40 times, even redownloaded them a few times even from different places.

  10. #10
    - potimus is offline
    MemberRank
    Dec 2012 Join Date
    Ontario, CanadaLocation
    330Posts

    Re: v83 Java problem

    I'm seldom able to figure these out by looking at the command prompt, I usually gotta poke around with it...

    My suggestion to you is if you feel like your 100% stuck, and you don't get anymore replies to your thread, remove EVERYTHING private server related (java, sources, unlimited str files, etc) from your computer, and then totally restart a fresh private server install.

    Although it's tedious, I find a lot of the time a fresh perspective will clear the problem up.

  11. #11
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    Quote Originally Posted by potimus View Post
    I'm seldom able to figure these out by looking at the command prompt, I usually gotta poke around with it...

    My suggestion to you is if you feel like your 100% stuck, and you don't get anymore replies to your thread, remove EVERYTHING private server related (java, sources, unlimited str files, etc) from your computer, and then totally restart a fresh private server install.

    Although it's tedious, I find a lot of the time a fresh perspective will clear the problem up.
    You got a point, I will try and figure it out, but is there anything I should know before I just delete everything? Like stuff you would make sure you have and stuff. Don't know, it's been awhile since I made a server. Surprised I remember how to get this far without tutorial.

    Thanks for trying to help. If I do delete everything and can't fix it, I will come back to this thread and post the errors, and everything I did. Have a good day.

  12. #12
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    So, I reinstalled everything, but now I get a different error

    Code:
    Error: could not open 'C:\Program Files\Java\jre7\lib\amd64\jvm.cfg'

  13. #13
    - potimus is offline
    MemberRank
    Dec 2012 Join Date
    Ontario, CanadaLocation
    330Posts

    Re: v83 Java problem

    I believe I'm familiar with this issue... Hold up though....

    Inside your Java folder, what do files do you have? It should be something along these lines...

    Program Files > Java > jdk1.7.0 > JRE

  14. #14
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    I got jdk1.6.0 and JRE7
    Only reason why I got jre7 is because if I use JRE6, I get the error I was having above. ._.

  15. #15
    Account Upgraded | Title Enabled! ooSnowCapxx is offline
    MemberRank
    Jul 2011 Join Date
    250Posts

    Re: v83 Java problem

    You don't have JCE Policy files in the correct place. Get a newer update of Java, and try again.

  16. #16
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    Quote Originally Posted by ooSnowCapxx View Post
    You don't have JCE Policy files in the correct place. Get a newer update of Java, and try again.
    ...I did that like 30 times. I got the most recent Java. But w.e I did it, and it still gives me the error.

  17. #17
    Account Upgraded | Title Enabled! ooSnowCapxx is offline
    MemberRank
    Jul 2011 Join Date
    250Posts

    Re: v83 Java problem

    Quote Originally Posted by Spotted View Post
    ...I did that like 30 times. I got the most recent Java. But w.e I did it, and it still gives me the error.
    I've recently had the same problem as you, make sure you get the correct JCE Files from here. Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7 Download

  18. #18
    - potimus is offline
    MemberRank
    Dec 2012 Join Date
    Ontario, CanadaLocation
    330Posts

    Re: v83 Java problem

    Although you must be extremely frustrated with the Unlimited Str files, having checked them so many times, ill give you this just to check - although odds are you've already seen it.

    C:\Program Files\Java\jre7\lib
    C:\Program Files\Java\jre7\lib\ext
    C:\Program Files\Java\jre7\lib\security
    C:\Program Files\Java\jdk1.7.0_01\lib
    C:\Program Files\Java\jdk1.7.0_01\jre\lib
    C:\Program Files\Java\jdk1.7.0_01\jre\lib\ext
    C:\Program Files\Java\jdk1.7.0_01\jre\lib\security


    Keep us updated with your issue, and good luck

  19. #19
    Account Upgraded | Title Enabled! Syre is offline
    MemberRank
    Jan 2013 Join Date
    700Posts

    Re: v83 Java problem

    Quote Originally Posted by potimus View Post
    Although you must be extremely frustrated with the Unlimited Str files, having checked them so many times, ill give you this just to check - although odds are you've already seen it.

    C:\Program Files\Java\jre7\lib\security
    C:\Program Files\Java\jdk1.7.0_01\jre\lib\security


    Keep us updated with your issue, and good luck
    fixed

  20. #20
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    Can someone like, take a picture of their jre\lib folder. I feel like I'm missing something, because the error says,
    'C:\Program Files\Java\jre7\lib\amd64\jvm.cfg'
    and I look in lib, and I don't see amd64.

    And the unl str files I've replaced multiple times. Even downloaded/replaced following the post above, still the same error.

  21. #21
    Valued Member namazi is offline
    MemberRank
    Feb 2012 Join Date
    JapanLocation
    133Posts

    Re: v83 Java problem

    Please execute 'java -XshowSettings:all' on a command prompt.

    The example of my environment.
    Code:
    C:\Documents and Settings\root>java -XshowSettings:all
    VM settings:
        Max. Heap Size (Estimated): 239.75M
        Ergonomics Machine Class: client
        Using VM: Java HotSpot(TM) Client VM
    
    Property settings:
    :
    ### java.home = C:\Win32app\Java\jre8
    :
        java.runtime.name = Java(TM) SE Runtime Environment
    ### java.runtime.version = 1.8.0-ea-b86
        java.specification.name = Java Platform API Specification
        java.specification.vendor = Oracle Corporation
        java.specification.version = 1.8
        java.vendor = Oracle Corporation
        java.vendor.url = http://java.oracle.com/
        java.vendor.url.bug = http://bugreport.sun.com/bugreport/
    ### java.version = 1.8.0-ea
        java.vm.info = mixed mode
        java.vm.name = Java HotSpot(TM) Client VM
        java.vm.specification.name = Java Virtual Machine Specification
        java.vm.specification.vendor = Oracle Corporation
    ### java.vm.specification.version = 1.8
        java.vm.vendor = Oracle Corporation
        java.vm.version = 25.0-b28
        line.separator = \r \n
    ### os.arch = x86
        os.name = Windows XP
        os.version = 5.1
        path.separator = ;
    ### sun.arch.data.model = 32
    ### sun.boot.class.path = C:\Win32app\Java\jre8\lib\resources.jar
            C:\Win32app\Java\jre8\lib\rt.jar
            C:\Win32app\Java\jre8\lib\sunrsasign.jar
            C:\Win32app\Java\jre8\lib\jsse.jar
            C:\Win32app\Java\jre8\lib\jce.jar
            C:\Win32app\Java\jre8\lib\charsets.jar
            C:\Win32app\Java\jre8\lib\jfr.jar
            C:\Win32app\Java\jre8\classes
    ### sun.boot.library.path = C:\Win32app\Java\jre8\bin
    Please check '###' marked lines.

    I think that two or more java.exe(s) are in PC.
    After performing UNINSTALL of JAVA and erasing a file until it becomes impossible to perform java.exe by a command prompt, I recommend you to install JAVA.

    If the BAT file which I presented is copy&past and performed, it may help to find the place where JAVA exists.
    Until all lines not displayed version of JAVA, please uninstall JAVA and delete a file.
    And install new JDK1.7 and copy JCE7. (not install JRE7)

  22. #22
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    Code:
    'C:\Users\loser>java -XshowSettings:all
    Error: could not open 'C:\Program Files\Java\jre7\lib\amd64\jvm.cfg'
    This was the result.

  23. #23
    - potimus is offline
    MemberRank
    Dec 2012 Join Date
    Ontario, CanadaLocation
    330Posts

    Re: v83 Java problem

    Hold up, are you running a 64bit system?

  24. #24
    finn balor religion is offline
    MemberRank
    Oct 2013 Join Date
    517Posts

    Re: v83 Java problem

    Quote Originally Posted by potimus View Post
    Hold up, are you running a 64bit system?
    Um, yeah

  25. #25
    - potimus is offline
    MemberRank
    Dec 2012 Join Date
    Ontario, CanadaLocation
    330Posts

    Re: v83 Java problem

    Have you been making sure that all the java related items you've been downloading are 64 bit?

    "amd64" seems to refer to your OS.



Page 1 of 2 12 LastLast

Advertisement