java error on new PC and legacy eclipse
java error on new PC and legacy eclipse
I maintain a system on 5441x with NNDK2.8.7. Every few years I face reinstalling NNDK 2.8.7 on a new PC. This time the "new system" is Win11Pro running as a VMWare guest under Fedora42 host. NNDK installed ok from an old EXE, with an old serial number, but Eclipse is throwing Java exceptions. For Java on the Win11 guest OS, I went back and got jdk-11.0.28_windows-x64_bin.exe, on the theory that it was active in 2018. It is the only Java on this VM. NetBurner Eclipse tries to run with it, but after about a second it throws an exception dialog. There is no cut&paste, but a screenshot is Attached. The Java Exit Code is 13. Any ideas how I can make this work?
Re: java error on new PC and legacy eclipse
Followup: same problem with JDK-8 32 bit, which I read was the last 32 bit java (2014). Same error, exit code 13.
Re: java error on new PC and legacy eclipse
Never mind. I copied over my old c:\nburn tree and that works. Looks like there is a private java distro in C:\nburn\NBEclipse\jre that was not in the old installer. I should be ok. Thanks anyway.
Re: java error on new PC and legacy eclipse
Thanks for the followup, although surprised java8 32-bit did not work. If you have both 32 and 64 bit installed, it could be a path problem. But installing from our java link is the best.
Re: java error on new PC and legacy eclipse
Just a note for anyone using legacy tools, command line builds do not use java. We have made makefiles very easy to use. If you look at any example you will find a makefile. All you need to do is add your source files, all the other complexity is already done. At that point you can still eclipse, or any editor such as vscode.
-
SeeCwriter
- Posts: 639
- Joined: Mon May 12, 2008 10:55 am
Re: java error on new PC and legacy eclipse
Should using a modified makefile from one of the examples work with v2.9.5 of the tools? Because it doesn't work for me.
Not only that, but after running the makefile I went back to Eclipse to build my app and now I get error:
I then did a Clean Project and tried to rebuild and I get the same error.
I spoke too soon, the Clean Project generates the same error and does not delete the object files. Even manually deleting htmldata.o doesn't solve the problem. Still get the same error.
Not only that, but after running the makefile I went back to Eclipse to build my app and now I get error:
Code: Select all
Build Error
Generated resource conflict
two resources of the same name: /O2/Release/htmldata.o
generated by different tools
tool1: GNU C++ Compiler
tool2: GNU C++ Compiler
I spoke too soon, the Clean Project generates the same error and does not delete the object files. Even manually deleting htmldata.o doesn't solve the problem. Still get the same error.