Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File not loading #1429

Closed
AdithyanRaji opened this issue Jan 17, 2024 · 2 comments
Closed

File not loading #1429

AdithyanRaji opened this issue Jan 17, 2024 · 2 comments

Comments

@AdithyanRaji
Copy link

Type: Performance Issue

Whenever i am running my java program it says Error: Could not find or load main class newfile1
Caused by: java.lang.ClassNotFoundException: newfile1
So what should i do

Extension version: 0.55.0
VS Code version: Code 1.85.1 (0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2, 2023-12-13T09:49:37.021Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i3-1005G1 CPU @ 1.20GHz (4 x 1190)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 7.77GB (0.94GB free)
Process Argv --crash-reporter-id 511841fc-1bea-464f-88de-3154f80f679d
Screen Reader no
VM 0%
Process Info
CPU %	Mem MB	   PID	Process
    0	    94	  2404	code main
    0	    28	  7000	   crashpad-handler
    0	    85	  9964	fileWatcher [1]
    0	   160	 15084	   gpu-process
    0	    81	 15540	ptyHost
    0	    63	 13508	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe
    0	    65	 14296	     C:\WINDOWS\System32\WindowsPowerShell\v1.0\powershell.exe -noexit -command "try { . \"c:\Apps\Microsoft VS Code\resources\app\out\vs\workbench\contrib\terminal\browser\media\shellIntegration.ps1\" } catch {}"
    0	     6	 21016	     conpty-agent
    0	     6	 21072	     conpty-agent
    0	    47	 15600	   utility-network-service
    1	    96	 17136	window [2] (Issue Reporter)
    0	   199	 17844	window [1] (javabasics.java - javadirect - Visual Studio Code)
    0	   149	 19192	extensionHost [1]
    0	   261	  2896	     c:\Users\DELL\.vscode\extensions\redhat.java-1.26.0-win32-x64\jre\17.0.9-win32-x86_64\bin\java --add-modules=ALL-SYSTEM --add-opens java.base/java.util=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.nio.fs=ALL-UNNAMED -Declipse.application=org.eclipse.jdt.ls.core.id1 -Dosgi.bundles.defaultStartLevel=4 -Declipse.product=org.eclipse.jdt.ls.core.product -Djava.import.generatesMetadataFilesAtProjectRoot=false -DDetectVMInstallationsJob.disabled=true -Dfile.encoding=utf8 -XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx1G -Xms100m -Xlog:disable -javaagent:c:\Users\DELL\.vscode\extensions\redhat.java-1.26.0-win32-x64\lombok\lombok-1.18.31-3454.jar -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=c:\Users\DELL\AppData\Roaming\Code\User\workspaceStorage\c27985cb645dc8f4f783a80e354d58d3\redhat.java -Daether.dependencyCollector.impl=bf -jar c:\Users\DELL\.vscode\extensions\redhat.java-1.26.0-win32-x64\server\plugins\org.eclipse.equinox.launcher_1.6.700.v20231214-2017.jar -configuration c:\Users\DELL\AppData\Roaming\Code\User\globalStorage\redhat.java\1.26.0\config_win -data c:\Users\DELL\AppData\Roaming\Code\User\workspaceStorage\c27985cb645dc8f4f783a80e354d58d3\redhat.java\jdt_ws --stdio
    0	    80	  3380	     electron-nodejs ("C:\Apps\Microsoft VS Code\Code.exe" --ms-enable-electron-run-as-node "c:\Apps\Microsoft VS Code\resources\app\extensions\json-language-features\server\dist\node\jsonServerMain" --node-ipc --clientProcessId=19192)
    0	    95	 20892	shared-process
Workspace Info
|  Window (javabasics.java - javadirect - Visual Studio Code)
|    Folder (javadirect): 5 files
|      File types: java(2) json(1) txt(1)
|      Conf files: launch.json(1)
|      Launch Configs: java(2);
A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
vsclangdc:30486549
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30933248
pythongtdpath:30769146
i26e3531:30792625
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30885898
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
dsvsc019acf:30933242

@testforstephen
Copy link
Contributor

Could you try "F1 -> Java: Clean Java Language Server Workspace"?

Copy link

github-actions bot commented Feb 5, 2024

This issue has been closed automatically because it needs more information and has not had recent activity. Please reach out if you have or find the answers we need so that we can investigate further.

@github-actions github-actions bot closed this as completed Feb 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants