jessiepathfinder / ikvm Goto Github PK
View Code? Open in Web Editor NEWThis project forked from windward-studios/ikvm
The best IKVM.NET fork ever!
License: GNU Affero General Public License v3.0
This project forked from windward-studios/ikvm
The best IKVM.NET fork ever!
License: GNU Affero General Public License v3.0
In my minecraft server list i can see the server us running, but everytime i try to join it, it disconnects me with the message "Disconnected."
It seems like the System class static initializer has not been called to init the internal static member "props"?
"The type initializer for 'java.lang.Props' threw an exception."
inner exception:
"FileNotFoundException: Could not load file or assembly 'System.Configuration.ConfigurationManager"
Here's the stack trace:
at java.lang.System.get_props()
at java.lang.System.getProperty(String str)
at sun.security.action.GetPropertyAction.run()
at sun.security.action.GetPropertyAction.<bridge>run()
at java.security.AccessController.doPrivileged(Object , AccessControlContext , CallerID )
at java.security.AccessController.doPrivileged(PrivilegedAction pa, CallerID )
at java.util.TimeZone.setDefaultZone()
at java.util.TimeZone.getDefaultRef()
at java.util.Date.normalize()
at java.util.Date.toString()
at Java.Net.Demo.JavaTimeStamp.TimeStamp()
at Program.<Main>$(String[] args) in C:\source\repos\Java.Net.Demo\ConsoleApp1\ConsoleApp1\Program.cs:line 4
When convert success, it will generate a exe file, can I get the source code of the exe file, so that I can modify and change something inside it?
I was thrilled to see the commitment here. I would like to make my congratulations public. Keep up the great work 👏👏👏
I get an internal compiler error during converting an jar to an dll:
PS C:\SMARD\IKVM> .\ikvm_8.6.5.1_bin_windows\ikvmc.exe .\example-1.0-SNAPSHOT.jar
IKVM.NET Compiler version 8.6.5.1
Copyright (C) 2020 Jessie Lesbian (based on work by Jeroen Frijters and Windward Studios)
http://www.ikvm.net/
note IKVMC0002: Output file is "example-1.0-SNAPSHOT.dll"
*** INTERNAL COMPILER ERROR ***
PLEASE FILE A BUG REPORT FOR IKVM.NET WHEN YOU SEE THIS MESSAGE
ikvmc, Version=8.6.5.1, Culture=neutral, PublicKeyToken=null
C:\Windows\Microsoft.NET\Framework64\v4.0.30319\
4.0.30319.42000 64-bit
System.InvalidOperationException: Der Vorgang ist aufgrund des aktuellen Zustands des Objekts ungültig.
bei IKVM.Internal.Boxer.EmitBox(CodeEmitter ilgen, TypeWrapper tw)
bei IKVM.Internal.LambdaMetafactory.EmitDispatch(FinishContext context, TypeWrapper[] args, TypeBuilder tb, MethodWrapper interfaceMethod, TypeWrapper[] implParameters, ConstantPoolItemMethodHandle implMethod, ConstantPoolItemMethodType instantiatedMethodType, FieldBuilder[] capturedFields)
bei IKVM.Internal.LambdaMetafactory.CreateConstructorAndDispatch(FinishContext context, ConstantPoolItemInvokeDynamic cpi, TypeBuilder tb, List`1 methods, TypeWrapper[] implParameters, ConstantPoolItemMethodType samMethodType, ConstantPoolItemMethodHandle implMethod, ConstantPoolItemMethodType instantiatedMethodType, Boolean serializable)
bei IKVM.Internal.LambdaMetafactory.EmitImpl(FinishContext context, ClassFile classFile, ConstantPoolItemInvokeDynamic cpi, BootstrapMethod bsm, CodeEmitter ilgen)
bei IKVM.Internal.LambdaMetafactory.Emit(FinishContext context, ClassFile classFile, Int32 constantPoolIndex, ConstantPoolItemInvokeDynamic cpi, CodeEmitter ilgen)
bei Compiler.Compile(Block block, Int32 startIndex)
bei Compiler.Compile(FinishContext context, TypeWrapper host, DynamicTypeWrapper clazz, MethodWrapper mw, ClassFile classFile, Method m, CodeEmitter ilGenerator, Boolean& nonleaf)
bei IKVM.Internal.DynamicTypeWrapper.FinishContext.FinishImpl()
bei IKVM.Internal.DynamicTypeWrapper.JavaTypeImpl.FinishCore()
bei IKVM.Internal.DynamicTypeWrapper.JavaTypeImpl.Finish()
bei IKVM.Internal.AotTypeWrapper.Finish()
bei IKVM.Internal.DynamicClassLoader.FinishAll()
bei IKVM.Internal.CompilerClassLoader.Compile(String runtimeAssembly, List`1 optionsList)
bei IkvmcCompiler.Compile(String[] args)
bei IkvmcCompiler.Main(String[] args)
Reproducible with following code:
import java.util.Map;
import java.util.function.Supplier;
public interface LayerA {
int getOuter();
default Map<Object, Supplier<Object>> createQuery(Map<Object, Supplier<Object>> builder) {
builder.put("B", getOuter() > -1 ? this::getOuter : () -> null);
return builder;
}
}
Or the simple example project:
example.zip
Please help me :)
As IKVM users we're interested in all attempts to revive this code, especially if you can get it working for .NET 5 Core. It's been reported elsewhere that you've changed the licensing conditions, could you please explain your rationale for this, and explain whether you actually have authority from the original copyright holders to do this?
Hello,
there is option to add icon when i use ikvmc to compile jar to exe?
tnx
Exception in SVG2PDF L'inizializzatore di tipo di 'TempDirectory' ha generato un'eccezione. in java.io.File.TempDirectory.generateFile(String , String , File )
in java.io.File.createTempFile(String str1, String str2, File f)
in org.jpedal.f.p..ctor(Byte[] barr1, Byte[] barr2)
in org.jpedal.f.m.a(Byte[] barr)
in org.jpedal.a.a(Byte[] )
in org.jpedal.d.openPdfArray(Byte[] barr)
in org.jpedal.examples.a.convert()
Any ideas?
This build is working perfectly in my case,except that nuget package is missing,could you publish your nuget package to nuget.org (may named IKVM-jessielesbian) so that people can access the packge without referencing the library on their own.thanks : )
This commit seems to change the license of the whole project to AGPLv3 and removes every license notices of the previous project.
I hope this issue should be considered, to protect the project users' rights.
DISCLAIMER: I'm not a representative of any previous maintainers. I'm just opening this issue because I'm interested in getting a copy of this fork licensed under the GPLv2, and not the AGPL (which is way more restrictive).
I put together a utility using a .Net form using C# that calls a legacy Java application (IKVM bridge) that was packaged up as a JAR file. Everything works great when all the users run my program on workstations here in the US.
When a colleague attempts to use my program in China on a workstation configured for Chinese, they get the following error message:
Can't find bundle for base name sun.text.resources.FormatData, locale en_GB
Is the IKVM distro missing some Java artifact(s) that causes this error?
I've converted a project using IKVM. It worked using an older version from ikvm.net, but now using your version I'm getting:
java.util.MissingResourceException: 'Can't find bundle for base name sun.text.resources.FormatData, locale en_150'
After setting the eula agreement to true, it only generates the "plugins" and "world" folders, all the yml files and the server properties file. After that, it crashes. Here is a crash log
crash-2021-07-21_01.03.44-server.txt
same Problem as on original IVKM Version:
C:\Users\*****\Desktop\Eclipse Workspaces\Java\ftp_test\release>app.exe
Exception in thread "main" java.awt.AWTError: Toolkit not found: ikvm.awt.NetToolkit, IKVM.AWT.WinForms, Version=8.5.0.3
, Culture=neutral, PublicKeyToken=null
at java.awt.Toolkit$2.run(Unknown Source)
at java.awt.Toolkit$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Unknown Source)
at java.security.AccessController.doPrivileged(Unknown Source)
at java.awt.Toolkit.getDefaultToolkit(Unknown Source)
at java.awt.Toolkit.getEventQueue(Unknown Source)
at java.awt.EventQueue.invokeLater(Unknown Source)
at ftp_test.Form.showForm(Form.java:60)
at ftp_test.Main.<init>(Main.java:11)
at ftp_test.Main.main(Main.java:16)
Exception in thread "Thread-0" java.lang.ExceptionInInitializerError: java.lang.ClassCastException: Das Objekt des Typs
"java.util.PropertyResourceBundle" kann nicht in Typ "sun.util.resources.OpenListResourceBundle" umgewandelt werden.
at com.enterprisedt.net.ftp.FileTransferClient.<init>(FileTransferClient.java)
at ftp_test.FTPRunnable.run(FTPRunnable.java:48)
at java.lang.Thread.run(Unknown Source)
why?
thx for Feedback.
do you wanna update JDK ?
it's toooo old
update it to LTS version of java
Does this project still support Windows on arm32? If so, how can it be compiled for this architecture?
The title say all..
The project that I have in my mind is to bring Minecraft Java to Xbox Series using UWP applications.
I saw on GitHub projects where Minecraft Java was ported in Android/IOS using JNI and other skill that I do not have fully understand so i wanto to try the same thing on Xbox.
I know already that this idea can be killed soon due to the very high security restrictions that Xbox OS have but maybe there be a chance to execute it so, how to integrate IKVM to an UWP app?
Thanks in advance
Basically some programs will include some exe information in the jar header, that the jvm ignores but windows can use to run a script (ex: bin/java/java -jar some.exe
). The old minecraft launcher does this.
Noticed this in the original and its present in this fork.
Is it now compatible to .NET version > 2.0 or, much more better, to the new "Core" versions?
Thank you very very much for your feedback(s)... :-)
With best regards, Jan
Hey, is there any plan to release your build as nuget? Would be very nice to include your build of ikvm via nuget!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.