| Subject | : | OS/2 native port of Java 6 |
| Author | : | Kim |
| Date | : | 16 Feb, 2006 on 17:32 |
| Supporting thread for the OS/2 native port of Java 6 bounty. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Martin |
| Date | : | 31 Aug, 2006 on 04:34 |
| Some links that can be usefull for this project. Apache Harmony JDK 5 Update 8 snapshot (Under JRL license) JDK 6 (Mustang) snapshot (Under JRL license) Here are the Build Instructions of Java 6. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Martin |
| Date | : | 28 Oct, 2006 on 14:19 |
| Sun announced it will open source java on this infoworld article. (Oct 25). It says "The core platform encompasses the Standard Edition of Java, and it will be offered via an open source format under an OSI (Open Source Initiative)-approved license, likely the same one used for Sun's open source Solaris OS. Sun officials, including Rich Green, Sun executive vice president for software, have talked about Java being offered via open source in stages later this year and into 2007. Parts of it, such as the Java Enterprise Edition, already are available via open source, with the GlassFish application server constituting the open source enterprise variant." |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | warprulz daniel.lee.kruse@gmail.com |
| Date | : | 31 Oct, 2006 on 14:49 |
| This is great news assuming the license doesn't require any royalties paid. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | abwillis abwillis1@gmail.com |
| Date | : | 31 Oct, 2006 on 22:29 |
| http://www.kaffe.org/ This uses classvm which currently implements 1.4.2 but has a 1.5 branch that could be used. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Martin |
| Date | : | 21 Jan, 2007 on 15:06 |
| Here it is also a link to the GNU Classpath project. "GNU Classpath, Essential Libraries for Java, is a GNU project to create free core class libraries for use with virtual machines and compilers for the java programming language." |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Blonde Guy |
| Date | : | 23 Jan, 2007 on 06:59 |
| Also kissme.sourceforge.net has an open-source JVM that works with GNU classpath. It looks like the two of them together add up to a free version of Java 1.4 |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | szdl |
| Date | : | 25 Mar, 2007 on 03:04 |
Hello Everybody! I'm Daniel, a new guy here. I want to know the status of this project. Is it began? Or just a plan? |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | abwillis abwillis1@gmail.com |
| Date | : | 25 Mar, 2007 on 03:30 |
I am not aware of anyone having started the port. At this stage I am not sure it is even a plan per se. I started looking porting http://www.kaffe.org/ as it seemed the easiest starting point. It uses the gnu classpath and there is a 1.5 branch for classpath but I haven't enough skill to port it and lack the time to become so skilled. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | szdl |
| Date | : | 28 Mar, 2007 on 00:24 |
| Is kaffe.org compatible enough with Sun Java? What about java 6 version? Are there anyone, who began to port Sun Java 6? |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | lpino |
| Date | : | 02 Apr, 2007 on 18:08 |
| Looking at this site: https://jdk6.dev.java.net/. I thought that maybe the sources can be compile in the same manner as other UNIX ports. Is this possible?, are there too many OS dependecies? Leonardo Pino |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Smedles |
| Date | : | 03 Apr, 2007 on 05:19 |
Without having looked at the code, I would suggest that a port for command line style applications might be relatively straightforward - things like Swing - ie gui apps would need to be ported to OS/2. Unless someone ports Java to Qt or SDL or something.... |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | lpino |
| Date | : | 03 Apr, 2007 on 17:47 |
| Well, that site and these two: https://openjdk.dev.java.net/hotspot/ have the sources of the JVM v. 6. That's the whole virtual machine, not an application. They have a Win32, a linux and a Sun version. Leonardo Pino |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | obiwan |
| Date | : | 04 Apr, 2007 on 02:47 |
What Smedles means when he mentions command-line-style applications is that in general when working with portable code, things which deal with the command-line interface have the least potential for incompatibility issues, as they are generally handled by standard functions. This, in contrast with parts that work with the GUI. You mention Linux and Solaris versions, which share the X GUI. Windows is different from X, and is therefore implemented differently. OS/2's GUI API is nothing like X and only very distantly related to Windows - so there is nothing in the OpenJDK code which knows at all how to present things on the OS/2 GUI. So what Smedles means is that it might theoretically be straightforward to port that portion of the JDK which would support command-line Java applications, but to support GUI Java applications, the JDK would have to have code for talking to a toolkit that has been ported to OS/2 - such as Qt or SDL. Otherwise, the entire SWING engine would have to be written for the OS/2 PM API, which is far too huge. Someone more knowledgeable might be able to comment on the feasibility of utilizing the older OS/2 Java JDK's somehow for GUI support, but even if that is possible it is a matter of work. Consider, too, that Java contains a lot of code, and the more code there is, the more work it is to handle all of the cross-platform snags and glitches. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | warprulz daniel.lee.kruse@gmail.com |
| Date | : | 04 Apr, 2007 on 14:49 |
Definitely too many OS dependencies. Think SWT, OpenOffice, or SQLite. At least the OS layer is abstracted out where once coded there wouldn't be too much to update for future versions like SWT, OpenOffice, or SQLite. The build system would either have to be hacked like it was for Win32 or re-written for OS/2. It is extremely Unix-oriented and Unix-bound. Other than that, it would take time to port like we are doing for SWT. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Tapio tapio.angervuori@kolumbus.fi |
| Date | : | 09 Apr, 2007 on 21:39 |
SWING does not have to be re-written for OS/2, because it is pure Java byte code. Only the Java virtual machine must be compiled for OS/2! |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | lpino |
| Date | : | 10 Apr, 2007 on 16:22 |
Exactly. Let me explain something. In order to use Java you need the Java Virtual Machine. This "machine" is a program that takes the byte codes produced by a compiler and "it interprets" that into native OS/2 code. So you need the compiler "javac" and the interpreter "JVM" and both are open source now. My idea was to take the sources of a Unix distribution and applying the techniques used on the other ports, generate a jvm.dll and a javac.exe for OS/2. The problem I thought "we" could have is that for instance to translate code from NIO package into OS/2 code the port is going to use the libc calls not the native socket calls, generating some impact on the performance. The threading is also an issue, I have no idea if there is a good threading library available... etc Leonardo Pino |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | obiwan |
| Date | : | 10 Apr, 2007 on 20:08 |
| Saying SWT is Java byte code does not explain away the absence of code in OpenJDK for drawing on OS/2 PM. Whether it's required in the SWT toolkit or the virtual machine or both or something else doesn't change the amount of work required to implement all the GUI functions on the PM API, and is a moot distinction. No-one has yet explained how that can be overcome. Threading, socket calls and performance of libc are insignificant by comparison. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | lpino |
| Date | : | 11 Apr, 2007 on 02:14 |
Ok, let's go back to basics. SWING is written in Java (that means if you port the JVM you get SWING), that means, it doesn't need to talk directly to PM, it does it through the JVM. That's why is slower than PM in OS2 or Win32 on Windows. To solve that problem IBM came up with SWT. This is a layer that talks directly to the windows subsystem of the operating system through JNI. SWT has nothing to do with the JVM or SWING or byte codes (I guess I didn't express myself well enough). It is a separate development aiming at replacing SWING as a GUI for Java applications. Porting the JVM has value on its own (even if you don't get SWING). There is so much you can do with it that doesn't require a GUI. PS. Daniel Kruse and I are still working on the SWT port to OS/2 Leonardo Pino |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | obiwan |
| Date | : | 12 Apr, 2007 on 00:21 |
| Sorry I was momentarily confused and said SWT when I meant SWING. Responding to Tapio's remark that SWING does not need to be ported. Of course that may be true, strictly speaking. And for all I know OpenJDK can use IBM's native Java 1.1 for drawing to the GUI. I just don't know that, so I'm assuming there is much work to be done to get the GUI. If the JVM is useful without the GUI then Smedles' general recommendation stands that text-based stuff should be relatively straightforward, so it's worth a try, for one so inclined. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | El Vato |
| Date | : | 12 Apr, 2007 on 01:00 |
[...] This might be the most appropriate alternative if the Apache Foundation is successful in its initiative, since: "This test kit, called the "Java Compatibility Kit" or "JCK", is needed (< http://www.apache.org/jcp/sunopenletter.html >) I feel the need to emphasize the need for open source and open standards (no Intellectual Property issues) as a prerequisite for software entity survival in this Internet era. An Service Oriented Architecture (read: decentralization), and Software as a Service (SAAS) is shaping the Internet landscape. It is only those organization whose business model were based in pre-Internet ecosystems that have not realized evolutionary change has already radically altered that old technological landscape; thus, through their narrow survey of the current landscape they are unable to grasp the notion that would provide them with an updated business model. TCP/IP and HTML, both open and owned by no one have made possible the collaborative nature of the World Wide Web. If Sun Microsystems decides to work with the Apache Foundation, Java will triumph over dotNet since the open source community is highly innovative. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | obiwan |
| Date | : | 12 Apr, 2007 on 01:37 |
| This is a good point, El Vato, and relates to something I said a while back in another thread, but later concluded I was rushing to judgment. I still think I was generally mistaken then about some of the facts and practicalities of the situation, but this open letter illustrates that Sun wants widespread use of Java, but they want the exclusive right to making the rules. Other Java implementations can be written if it means broadening Java's reach, but they are not allowed to be as good as Sun's unless Sun condescends to permit it. Of course, this may reflect an accidental holdover of the "old Sun," and the new one is reformed and ready to play nice. Sun's response to this letter will tell us. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | szdl |
| Date | : | 03 May, 2007 on 23:46 |
| Are there any plans at Serenity Systems to take part in porting Java 6? Without up-to-date version of Java the new eCS will be not useful enough nowdays.. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Terry tgindy@yahoo.com |
| Date | : | 04 May, 2007 on 05:42 |
This weblink to a thread started by yours truly about virtualization touches on "a parallel what if" discussion that throws some Java discussion into the mix... About 1/3 down the 1st page you will find a rather insightful link to an SVista discussion including Bob St. John, that lends further insight into Serenity's perspective on development; let alone virtualization, and; Java to some degree indirectly if greater virtualization can become reality... http://tech.groups.yahoo.com/group/eComStation/message/72983 It would seem from this forum's threads the past year that eCS-OS/2 has three long-term areas to remain current in development: Java, video, and virtualization. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Martin |
| Date | : | 10 May, 2007 on 16:14 |
| Possible something of the OpenJDK Community can be used for this bounty project. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | szdl |
| Date | : | 10 May, 2007 on 18:12 |
| It's great! But the question is: who will do this port? I think it would be nice if Serenity (or Golden Code etc.) could take part in this task (but it is not too likely), or people "near to" Netlabs. If OS/2/eCS will have an up-to-date Java platform it can be still a good alternatÃve for Java applications due to its almost faster running on OS/2 comparing to some unix-like systems (yes, It can be truth!). But it depends on a lot of things. I think it's a good decision at Sun to open the Java stuff, because the M$ .Net technology is a very serious "enemy" of Java. It spreads and with Novell and the Mono project (the opensource .Net) it can overtake Java at opensourece systems. |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Terry tgindy@yahoo.com |
| Date | : | 10 May, 2007 on 20:03 |
Nothing like "pretend Java." Many of my product suppliers, with M$-specific software, that are required as a part of my Cash Flow Planning vocation have deposited many versions of .NET on my XP system. Why in the world do these .NETs confuse my XP registry to the point of oblivion? How come the Vista Home Premium that came with my new laptop introduce even greater incompatibilities with these same financial product applications & coordination with multiple versions of .NETs? P.S.: I really do know the answer, but have no choice of operating system vendor... Resistance is futile... You will be assimilated... Comply... |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | szdl |
| Date | : | 10 May, 2007 on 22:32 |
| <OFF> I know the "limits" of .Net (it is not really crossplatform, eg. it has no crossplatform GUI - like Swing in Java - you have to follow the tempo of M$, and you are allways looser), but why not port Mono to OS/2 too? And we can say .Net will be the new M$ API (instead of win32), so it is not an alternative for Java, but for ODIN (/Wine). But it's offtopic.. </OFF> |
| Subject | : | Re:OS/2 native port of Java 6 |
| Author | : | Kim |
| Date | : | 19 May, 2007 on 23:26 |
| This thread has been closed and will continue in the new forum. |