all groups > vj# > july 2004 >
You're in the

vj#

group:

Compile JDK1.4 source using J#



Re: Compile JDK1.4 source using J# Lars-Inge Tønnessen
7/1/2004 2:33:18 PM
vj#:
J# only supports JDK 1.1.4 (and a few other collections/classes), but...

http://www.dotnetit.org/

can help you on your way...



Regards,
Lars-Inge Tønnessen

Compile JDK1.4 source using J# YangHua
7/1/2004 5:45:14 PM
Hi, all

My question is just as the title. Is it possible to compile JDK1.4 source
code with J#?
I have tried but it failed with 11 error messages and hundreds of warning.s.

During the compiling process, because 'delegate' becomes a reserved words
now in J#, i have replaced all with 'delegate_', but there are still other
errors i can not handle.

It also seems that though i deleted jsharp library from project reference,
J# will still use it, then throw out a lot of warnings on duplicated name
between package and source code....

I think it will be funny if i succeed, ... but is it really a mission
impossible?

Xmihu


Re: Compile JDK1.4 source using J# Manuel J. Goyenechea
7/2/2004 8:22:35 AM
www.dotnetig.org has ported:

jCollections GNU Classpath 0.6.0 Collections Package
jNaming GNU Classpath 0.6.0 Naming Package
ORO.NET Apache Jakarta ORO 2.0.8 Text-Processing Package
Regexp.NET Apache Jakarta Regexp 1.3.0 Regular Expression Package
Xalan.NET Apache Xalan 2.5.2 XSLT Processor
Xerces.NET Apache Xerces 2.6.0 XML Parser

and is working on:

jSecurity GNU Classpath 0.6.0 Security Package
Crypto.NET GNU Crypto 1.1.0 Package
Jessie.NET GNU Jssie 0.9.5 Package, clean-room implementation of Java Secure
Sockets Extension (JSSE)


[quoted text, click to view]

RE: Compile JDK1.4 source using J# sprush
7/13/2004 4:14:03 PM
You will event eventually find that you need to remove Object, String, Cloneable interface and some other classes. This is because the .NET base objects conflict with Java, since it is basically a remake of Java. Even then you will still have some issues, such as the assert function was non-existent in Java 1.1.4 but used in the 1.4 JDK. I also have not found a way to unload the MS Java 1.1.4 libraries to keep the dup warnings out.

Anyway, removing these classes and other mods invalidate the terms of use of the Sun JDK (because you have modified the packages) and you will not be able to distribute (legally) anything you have done and it is only an academic exercise.

Unfortunately for legal reasons you will need to wait for GNU Classpath to port the Java libraries. GNU Classpath currently works pretty well for non-GUI stuff (XERXES, XALAN and FOP port well), but is woefully inadequate for apps with Swing and AWT. If you know your Swing you could help port this, but you need to do it in a clean room environment (you can't reference or build from the Sun source).

Check out IKVM (www.ikvm.net) and GNU Classpath (http://www.gnu.org/software/classpath/classpath.html) for a partial JDK 1.4 open-source library that may have what you need.


[quoted text, click to view]
RE: Compile JDK1.4 source using J# sprush
7/13/2004 4:15:03 PM
You will event eventually find that you need to remove Object, String, Cloneable interface and some other classes. This is because the .NET base objects conflict with Java, since it is basically a remake of Java. Even then you will still have some issues, such as the assert function was non-existent in Java 1.1.4 but used in the 1.4 JDK. I also have not found a way to unload the MS Java 1.1.4 libraries to keep the dup warnings out.

Anyway, removing these classes and other mods invalidate the terms of use of the Sun JDK (because you have modified the packages) and you will not be able to distribute (legally) anything you have done and it is only an academic exercise.

Unfortunately for legal reasons you will need to wait for GNU Classpath to port the Java libraries. GNU Classpath currently works pretty well for non-GUI stuff (XERXES, XALAN and FOP port well), but is woefully inadequate for apps with Swing and AWT. If you know your Swing you could help port this, but you need to do it in a clean room environment (you can't reference or build from the Sun source).

Check out IKVM (www.ikvm.net) and GNU Classpath (http://www.gnu.org/software/classpath/classpath.html) for a partial JDK 1.4 open-source library that may have what you need.



[quoted text, click to view]
RE: Compile JDK1.4 source using J# sprush
7/13/2004 4:15:04 PM
You will event eventually find that you need to remove Object, String, Cloneable interface and some other classes. This is because the .NET base objects conflict with Java, since it is basically a remake of Java. Even then you will still have some issues, such as the assert function was non-existent in Java 1.1.4 but used in the 1.4 JDK. I also have not found a way to unload the MS Java 1.1.4 libraries to keep the dup warnings out.

Anyway, removing these classes and other mods invalidate the terms of use of the Sun JDK (because you have modified the packages) and you will not be able to distribute (legally) anything you have done and it is only an academic exercise.

Unfortunately for legal reasons you will need to wait for GNU Classpath to port the Java libraries. GNU Classpath currently works pretty well for non-GUI stuff (XERXES, XALAN and FOP port well), but is woefully inadequate for apps with Swing and AWT. If you know your Swing you could help port this, but you need to do it in a clean room environment (you can't reference or build from the Sun source).

Check out IKVM (www.ikvm.net) and GNU Classpath (http://www.gnu.org/software/classpath/classpath.html) for a partial JDK 1.4 open-source library that may have what you need.



[quoted text, click to view]
AddThis Social Bookmark Button