Ayagikei / LifeUp-Desktop

a LAN desktop port LifeUp that developed based on LifeUp SDK.
43 stars 6 forks source link

Failed to launch JVM #16

Open johnlcrow opened 1 year ago

johnlcrow commented 1 year ago

Hello, I just installed LifeUp Desktop and it fails to open. I hope you can help. When opening it, I get two errors:

 Failed to launch JVM

and

 Child process exited with code 1

In my Event Viewer, it lists the installation as successful. It lists two event for the install:

1:

Log Name:      Application
Source:        MsiInstaller
Date:          10/17/2023 3:16:28 PM
Event ID:      11707
Task Category: None
Level:         Information
Keywords:      Classic
User:          SIMBI-I7-NG\John
Computer:      SIMBI-I7-NG
Description:
Product: LifeUp Desktop -- Installation completed successfully.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">11707</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2023-10-17T19:16:28.3978701Z" />
    <EventRecordID>76997</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>SIMBI-I7-NG</Computer>
    <Security UserID="S-1-5-21-3040065937-1061772109-1512657462-1001" />
  </System>
  <EventData>
    <Data>Product: LifeUp Desktop -- Installation completed successfully.</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
    <Binary>7B30314338363731462D453739392D333830462D383644392D4335323039303333434233327D</Binary>
  </EventData>
</Event>

2:

Log Name:      Application
Source:        MsiInstaller
Date:          10/17/2023 3:16:28 PM
Event ID:      1033
Task Category: None
Level:         Information
Keywords:      Classic
User:          SIMBI-I7-NG\John
Computer:      SIMBI-I7-NG
Description:
Windows Installer installed the product. Product Name: LifeUp Desktop. Product Version: 1.1.1. Product Language: 1033. Manufacturer: 未知. Installation success or error status: 0.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="MsiInstaller" />
    <EventID Qualifiers="0">1033</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2023-10-17T19:16:28.3988820Z" />
    <EventRecordID>76998</EventRecordID>
    <Correlation />
    <Execution ProcessID="0" ThreadID="0" />
    <Channel>Application</Channel>
    <Computer>SIMBI-I7-NG</Computer>
    <Security UserID="S-1-5-21-3040065937-1061772109-1512657462-1001" />
  </System>
  <EventData>
    <Data>LifeUp Desktop</Data>
    <Data>1.1.1</Data>
    <Data>1033</Data>
    <Data>0</Data>
    <Data>未知</Data>
    <Data>(NULL)</Data>
    <Data>
    </Data>
    <Binary>7B30314338363731462D453739392D333830462D383644392D4335323039303333434233327D3030303039353836623662346365633134376330313362323538363939353431303763343030303030393034</Binary>
  </EventData>
</Event>

Lastly, this is my Windows config:

OS Name Microsoft Windows 10 Education Version 10.0.19045 Build 19045 Other OS Description Not Available OS Manufacturer Microsoft Corporation System Name SIMBI-I7-NG System Manufacturer System manufacturer System Model System Product Name System Type x64-based PC System SKU ASUS_MB_CNL Processor Intel(R) Core(TM) i7-9700K CPU @ 3.60GHz, 3600 Mhz, 8 Core(s), 8 Logical Processor(s) BIOS Version/Date American Megatrends Inc. 1005, 4/10/2019 SMBIOS Version 3.1 Embedded Controller Version 255.255 BIOS Mode UEFI BaseBoard Manufacturer ASUSTeK COMPUTER INC. BaseBoard Product PRIME Z390-A BaseBoard Version Rev 1.xx Platform Role Desktop Secure Boot State Off PCR7 Configuration Elevation Required to View Windows Directory C:\WINDOWS System Directory C:\WINDOWS\system32 Boot Device \Device\HarddiskVolume4 Locale United States Hardware Abstraction Layer Version = "10.0.19041.3570" User Name SIMBI-I7-NG\John Time Zone Eastern Daylight Time Installed Physical Memory (RAM) 64.0 GB Total Physical Memory 63.9 GB Available Physical Memory 47.7 GB Total Virtual Memory 73.4 GB Available Virtual Memory 53.5 GB Page File Space 9.50 GB Page File C:\pagefile.sys Kernel DMA Protection Off Virtualization-based security Not enabled Device Encryption Support Elevation Required to View Hyper-V - VM Monitor Mode Extensions Yes Hyper-V - Second Level Address Translation Extensions Yes Hyper-V - Virtualization Enabled in Firmware Yes Hyper-V - Data Execution Protection Yes

I hope you can tell me how to get it functioning. Thanks.

Ayagikei commented 1 year ago

Hello, thank you for your use and feedback!

I suspect this is the same problem as https://github.com/Ayagikei/LifeUp-Desktop/issues/2.

You can try the solutions described in this workaround:

  1. https://stackoverflow.com/questions/69702334/charles-proxy-wont-start-assistive-technology-not-found-com-sun-java-accessib

  2. The best fix for this problem is to disable the Access Bridge technology in the Java configuration files. To do this, follow these > steps:

    1. Navigate to C:\Users\
    2. Open the file called .accessibility.properties using a standard text editor (Notepad is fine)
    3. Find the following lines in the config: assistive_technologies=com.sun.java.accessibility.AccessBridge screen_magnifier_present=true
    4. Add a hashmark (#) in front of these lines
    5. Save your changes to the file, restart the User Client Software

referer: https://www.papercut.com/kb/Main/AssistiveTechnologynotfound/


We will also look to see if there is a solution on the development side.