-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Bug] FileVersionInfo.GetVersionInfo 引起的 Java检查 错误 - FileNotFoundException #68
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
need more infomation
need to fix
需要修复
question
Further information is requested
Comments
在文件资源管理器中查一下这个文件实际存在吗 |
natsurainko
added
bug
Something isn't working
duplicate
This issue or pull request already exists
question
Further information is requested
need to fix
需要修复
labels
Mar 4, 2023
This was referenced Mar 4, 2023
natsurainko
changed the title
[Bug] FileVersionInfo.GetVersionInfo 引起的 Java检查 错误
[Bug] FileVersionInfo.GetVersionInfo 引起的 Java检查 错误 - FileNotFoundException
Mar 5, 2023
我盲猜 java更新(java8jre有自动更新)然后注册表写着没删,(原本体删了) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bug
Something isn't working
duplicate
This issue or pull request already exists
need more infomation
need to fix
需要修复
question
Further information is requested
FluentLauncher错误报告:System.IO.FileNotFoundException
System.IO.FileNotFoundException: C:\Program Files\Java\jre1.8.0_311\bin\javaw.exe
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Natsurainko.FluentCore.Extension.Windows.Service.JavaHelper.GetJavaRuntimeInfo(String file)
at Natsurainko.FluentLauncher.Components.FluentCore.GameCore.<>c.b__6_1(String x)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List
1 source, Func
2 keySelector, Func2 elementSelector, IEqualityComparer
1 comparer)at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func
2 keySelector, Func2 elementSelector, IEqualityComparer
1 comparer)at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func
2 keySelector, Func2 elementSelector) at Natsurainko.FluentLauncher.Components.FluentCore.GameCore.GetSuitableJava() at Natsurainko.FluentLauncher.Components.FluentCore.GameCore.GetLaunchSetting() at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core) at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core) at Natsurainko.FluentLauncher.ViewModels.Pages.Home.<Launch>b__8_0() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread) --- End of stack trace from previous location --- at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask) at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state) at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0() System.IO.FileNotFoundException System.IO.FileNotFoundException: C:\Program Files\Java\jre1.8.0_311\bin\javaw.exe at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName) at Natsurainko.FluentCore.Extension.Windows.Service.JavaHelper.GetJavaRuntimeInfo(String file) at Natsurainko.FluentLauncher.Components.FluentCore.GameCore.<>c.<GetSuitableJava>b__6_1(String x) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List
1 source, Func2 keySelector, Func
2 elementSelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func2 keySelector, Func
2 elementSelector, IEqualityComparer1 comparer) at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func2 keySelector, Func
2 elementSelector)at Natsurainko.FluentLauncher.Components.FluentCore.GameCore.GetSuitableJava()
at Natsurainko.FluentLauncher.Components.FluentCore.GameCore.GetLaunchSetting()
at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core)
at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core)
at Natsurainko.FluentLauncher.ViewModels.Pages.Home.b__8_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b__0()
System.IO.FileNotFoundException
System.IO.FileNotFoundException: C:\Program Files\Java\jre1.8.0_311\bin\javaw.exe
at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
at Natsurainko.FluentCore.Extension.Windows.Service.JavaHelper.GetJavaRuntimeInfo(String file)
at Natsurainko.FluentLauncher.Components.FluentCore.GameCore.<>c.b__6_1(String x)
at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](List
1 source, Func
2 keySelector, Func2 elementSelector, IEqualityComparer
1 comparer)at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func
2 keySelector, Func2 elementSelector, IEqualityComparer
1 comparer)at System.Linq.Enumerable.ToDictionary[TSource,TKey,TElement](IEnumerable
1 source, Func
2 keySelector, Func`2 elementSelector)at Natsurainko.FluentLauncher.Components.FluentCore.GameCore.GetSuitableJava()
at Natsurainko.FluentLauncher.Components.FluentCore.GameCore.GetLaunchSetting()
at Natsurainko.FluentLauncher.Models.LaunchArrangement..ctor(GameCore core)
at Natsurainko.FluentLauncher.Models.LaunchArrangement.StartNew(GameCore core)
at Natsurainko.FluentLauncher.ViewModels.Pages.Home.b__8_0()
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.b__0()
FluentLauncher版本:2.1.50
主要大意:启动游戏时弹出错误报告
是游戏崩溃的问题吗:否
部分附件:
这个问题严重嘛:(1-10 分)
The text was updated successfully, but these errors were encountered: