I cannot open my Intelij IDEA application

已回答

so i installed the latest intellij IDEA and when i try to run it it doesn't open. when i double click on the application a loading around my cursor pops up for a second and the program doesn't run at all 

0

hey there so i tried starting the IDE from command line and the result:
Exception in thread "main" java.lang.ClassNotFoundException: com.janetfilter.core.Launcher
       at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:221)
       at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:587)
       at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
       at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:435)
       at java.instrument/sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:503)
Caused by: java.util.zip.ZipException: invalid distance too far back
       at com.intellij.util.lang.ImmutableZipEntry.getByteBuffer(ImmutableZipEntry.java:149)
       at com.intellij.util.lang.HashMapZipFile.getByteBuffer(HashMapZipFile.java:100)
       at com.intellij.util.lang.ZipResourceFile.findClass(ZipResourceFile.java:107)
       at com.intellij.util.lang.JarLoader.findClass(JarLoader.java:58)
       at com.intellij.util.lang.ClassPath.findClassInLoader(ClassPath.java:238)
       at com.intellij.util.lang.ClassPath.findClassWithoutCache(ClassPath.java:227)
       at com.intellij.util.lang.ClassPath.findClass(ClassPath.java:210)
       at com.intellij.util.lang.UrlClassLoader.findClass(UrlClassLoader.java:218)
       ... 4 more
*** java.lang.instrument ASSERTION FAILED ***: "!errorOutstanding" with message Outstanding error when calling method in invokeJavaAgentMainMethod at s\src\java.instrument\share\native\libinstrument\JPLISAgent.c line: 619
*** java.lang.instrument ASSERTION FAILED ***: "success" with message invokeJavaAgentMainMethod failed at s\src\java.instrument\share\native\libinstrument\JPLISAgent.c line: 459
*** java.lang.instrument ASSERTION FAILED ***: "result" with message agent load/premain call failed at s\src\java.instrument\share\native\libinstrument\JPLISAgent.c line: 422
FATAL ERROR in native method: processing of -javaagent failed, processJavaStart failed

 

0

> Exception in thread "main" java.lang.ClassNotFoundException: com.janetfilter.core.Launcher

It seems like the `-javaagent` vm option caused this. Please remove it from the .vmoptions file.

See https://intellij-support.jetbrains.com/hc/en-us/articles/206544869-Configuring-JVM-options-and-platform-properties

0

i did not find any .vmoptions file.
according to the article i looked into appdata/roaming/jetbrains
but these are the only files present here

0

What about the bin folder under the installation directory? Can you please also check the .vmoptions file under the bin folder?

0

its not in there either 

0
Please try to start the IDE from command line and paste the console output here. 
https://intellij-support.jetbrains.com/hc/en-us/articles/360011901879-How-to-start-IDE-from-the-command-line

Please also check if there is an `IDEA_VMOPTIONS` defined in your system environment variables by executing the `set` command in cmd.exe.
0

i checked using set but there is no ‘IDEA_VMOPTIONS’

0

Please remove the JetBrains folder below and try again. Does it help?

%APPDATA%\JetBrains\

%LOCALAPPDATA%\JetBrains

0

it still doesn't work should i just re install my windows?

 

0

> should i just re install my windows?

It should be able to wipe out the issue. But we still don't know how the com.janetfilter.core.Launcher is being used.

> i checked using set but there is no ‘IDEA_VMOPTIONS’

Can you please provide the result of executing the “set” command?

0

ALLUSERSPROFILE=C:\ProgramData
APPCODE_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\appcode.vmoptions
APPDATA=C:\Users\faked\AppData\Roaming
ChocolateyInstall=C:\ProgramData\chocolatey
ChocolateyLastPathUpdate=133336188037774437
ChocolateyToolsLocation=C:\tools
CLION_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\clion.vmoptions
CommonProgramFiles=C:\Program Files\Common Files
CommonProgramFiles(x86)=C:\Program Files (x86)\Common Files
CommonProgramW6432=C:\Program Files\Common Files
COMPUTERNAME=LAPTOP-TLBMAI4B
ComSpec=C:\WINDOWS\system32\cmd.exe
DATAGRIP_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\datagrip.vmoptions
DATASPELL_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\dataspell.vmoptions
DEVECOSTUDIO_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\devecostudio.vmoptions
DriverData=C:\Windows\System32\Drivers\DriverData
GATEWAY_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\gateway.vmoptions
GOLAND_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\goland.vmoptions
HOMEDRIVE=C:
HOMEPATH=\Users\faked
IDEA_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\idea.vmoptions
IntelliJ IDEA=C:\Program Files\JetBrains\IntelliJ IDEA 2023.2\bin;
IntelliJ IDEA Community Edition=C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.2.1\bin;
INTEL_DEV_REDIST=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\
JETBRAINSCLIENT_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\jetbrainsclient.vmoptions
JETBRAINS_CLIENT_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\jetbrains_client.vmoptions
LOCALAPPDATA=C:\Users\faked\AppData\Local
LOGONSERVER=\\LAPTOP-TLBMAI4B
MIC_LD_LIBRARY_PATH=C:\Program Files (x86)\Common Files\Intel\Shared Libraries\compiler\lib\mic
NUMBER_OF_PROCESSORS=8
OneDrive=C:\Users\faked\OneDrive - Virinchi College
OneDriveCommercial=C:\Users\faked\OneDrive - Virinchi College
OnlineServices=Online Services
OS=Windows_NT
Path=C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Common Files\Intel\Shared Libraries\redist\intel64\compiler;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files\Azure Data Studio\bin;C:\ProgramData\chocolatey\bin;C:\Users\faked\AppData\Local\Programs\Python\Python311\Scripts\;C:\Users\faked\AppData\Local\Programs\Python\Python311\;C:\Users\faked\AppData\Local\Microsoft\WindowsApps;C:\Users\faked\AppData\Local\Programs\Microsoft VS Code\bin;C:\Programs\flutter\bin;C:\msys64\mingw64\bin;C:\src\flutter\bin;C:\Program Files\Java\jre1.8.0_51\bin;C:\tools\dart-sdk\bin;C:\Users\faked\AppData\Roaming\Pub\Cache\bin;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2023.2.1\bin;C:\Program Files\JetBrains\IntelliJ IDEA 2023.2\bin;C:\Program Files\Java\jdk-20.0.2\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PHPSTORM_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\phpstorm.vmoptions
platformcode=KV
PROCESSOR_ARCHITECTURE=AMD64
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 140 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=8c01
ProgramData=C:\ProgramData
ProgramFiles=C:\Program Files
ProgramFiles(x86)=C:\Program Files (x86)
ProgramW6432=C:\Program Files
PROMPT=$P$G
PSModulePath=C:\Program Files\WindowsPowerShell\Modules;C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\PowerShell\Modules\
PUBLIC=C:\Users\Public
PYCHARM_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\pycharm.vmoptions
RegionCode=NA
RIDER_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\rider.vmoptions
RUBYMINE_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\rubymine.vmoptions
STUDIO_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\studio.vmoptions
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\Users\faked\AppData\Local\Temp
TMP=C:\Users\faked\AppData\Local\Temp
USERDOMAIN=LAPTOP-TLBMAI4B
USERDOMAIN_ROAMINGPROFILE=LAPTOP-TLBMAI4B
USERNAME=faked
USERPROFILE=C:\Users\faked
VBOX_MSI_INSTALL_PATH=C:\Program Files\Oracle\VirtualBox\
WEBIDE_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\webide.vmoptions
WEBSTORM_VM_OPTIONS=C:\ja-netfilter-all\vmoptions\webstorm.vmoptions
windir=C:\WINDOWS
ZES_ENABLE_SYSMAN=1

0

i am so sorry for the inconvinence caused, i didn't see the VMOPTION before, i deleted the ‘-javaagent’ like you previously mentioned and now it works thank you

0

Good to hear that it's resolved.

0

请先登录再写评论。