Author Topic: Java for os2  (Read 63119 times)

Ben

  • Sr. Member
  • ****
  • Posts: 367
  • What is really important?
    • View Profile
    • The Self Wrighting Network
Re: Java for os2
« Reply #30 on: 2011.04.07, 11:57:09 »

I have to say, I did not expect JAVA to be in the number one position.

I would have thought that "C", (or a variant thereof), would hold that spot.

Interesting...


miturbide

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1154
    • View Profile
    • OS2World
Re: Java for os2
« Reply #31 on: 2011.04.07, 15:06:29 »
Ben, I also didn't expected to see Java in the #1 position. I just find that post in reddit.com and grabbed my attention.  But there are other studies that put C on top of Java - http://langpop.com/(15-Feb).
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

abwillis

  • Sr. Member
  • ****
  • Posts: 325
    • View Profile
Re: Java for os2
« Reply #32 on: 2011.04.07, 15:43:42 »
Java is what the kids are taught in colleges anymore.  I've talked to some of them going to school over the last several years as well as when I was considering going back to school and checking into degree programs found that you can hardly even find a C course, some C++ but mostly Java.  For degrees with programming emphasis, Java is often required but C++ is an elective and several I looked at didn't even have C.

Ben

  • Sr. Member
  • ****
  • Posts: 367
  • What is really important?
    • View Profile
    • The Self Wrighting Network
Re: Java for os2
« Reply #33 on: 2011.04.07, 21:39:59 »

That's a clear tell.

Lots to be deduced from it, and potential predictions based upon it.

Understanding that, it also points to the origins of changes within our "education" systems curriculum.

JAVA is not a natural forerunner. There is a missing piece creating an apparent nonsequitur; we're in the dark here... or at least some are.


miturbide

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1154
    • View Profile
    • OS2World
Re: Java for os2
« Reply #34 on: 2011.04.07, 23:54:03 »
Does anybody tried Netbeans with this Java release?

I had download it but I don-t see it as a platform independent .jar file to run, on the binaries I see an exe and a linux file.
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

lpino

  • Full Member
  • ***
  • Posts: 109
    • View Profile
Re: Java for os2
« Reply #35 on: 2011.04.08, 18:54:29 »
Does anybody tried Netbeans with this Java release?

I had download it but I don-t see it as a platform independent .jar file to run, on the binaries I see an exe and a linux file.


Hello Martin

Use http://netbeans.org/downloads/zip.html there you'll find the ZIP files
I use netbeans 5 with JDK 1.4.1 and runs just fine. Tell me how it works with the new Java

Nos vemos

Chao

miturbide

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1154
    • View Profile
    • OS2World
Re: Java for os2
« Reply #36 on: 2011.04.08, 19:58:22 »
Hola Leo, do you have run script to make it run. The documentation of Netbeans says doble click the Windows exe or run the linux executable file.
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

sXwamp

  • Full Member
  • ***
  • Posts: 228
    • View Profile
    • OS/2 Release Notes
Re: Java for os2
« Reply #37 on: 2011.04.09, 08:19:38 »
Hola Leo, do you have run script to make it run. The documentation of Netbeans says doble click the Windows exe or run the linux executable file.

Netbeans 5 starts up with java 6, but no luck with 6.9.1.  There is a CMD file included in the BIN directory up until 5.5.1 -- I didn't try any past that version.  And you need to edit the cfg file in the ETC directory.

Greggory

djcaetano

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Java for os2
« Reply #38 on: 2011.04.09, 19:03:38 »
Hola Leo, do you have run script to make it run. The documentation of Netbeans says doble click the Windows exe or run the linux executable file.
Netbeans 5 starts up with java 6, but no luck with 6.9.1.  There is a CMD file included in the BIN directory up until 5.5.1 -- I didn't try any past that version.  And you need to edit the cfg file in the ETC directory.
Greggory

  I have downloaded 5.5.1 version, but I am receiving an SYS1056 error. It seems nbexec.cmd is composing a too-large command line (mainly due to -cp directive). I tried to set classpath before running java vm (and thus removing -cp from java vm command line) but received an unexpected exception "Main" not found (which usually means there is something missing on classpath or wrong class being executed by JVM).
  Any insights?

PS: this error happens no matter what Java version is being used, since it happens on CMD loader level.

miturbide

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1154
    • View Profile
    • OS2World
Re: Java for os2
« Reply #39 on: 2011.04.09, 19:35:16 »

If anybody can post the call sentence that get generated by the REXX script will be usefull. I get confused of how the netbeans rex script is calling java.exe to run it.
Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

djcaetano

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Java for os2
« Reply #40 on: 2011.04.09, 19:46:46 »

If anybody can post the call sentence that get generated by the REXX script will be usefull. I get confused of how the netbeans rex script is calling java.exe to run it.

Here it is; It is installed on K:\NETBEANS and JVM is on c:\programs\java160:

c:\programs\java160\bin\java -Djdk.home="c:\programs\java160" -cp "K:\NETBEANS\platform6\lib\boot.jar;K:\NETBEANS\platform6\lib\org-openide-modules.jar;K:\NETBEANS\platform6\lib\org-openide-util.jar;K:\NETBEANS\platform6\lib\locale\boot_ja.jar;K:\NETBEANS\platform6\lib\locale\boot_pt_BR.jar;K:\NETBEANS\platform6\lib\locale\boot_zh_CN.jar;K:\NETBEANS\platform6\lib\locale\org-openide-modules_ja.jar;K:\NETBEANS\platform6\lib\locale\org-openide-modules_pt_BR.jar;K:\NETBEANS\platform6\lib\locale\org-openide-modules_zh_CN.jar;K:\NETBEANS\platform6\lib\locale\org-openide-util_ja.jar;K:\NETBEANS\platform6\lib\locale\org-openide-util_pt_BR.jar;K:\NETBEANS\platform6\lib\locale\org-openide-util_zh_CN.jar;K:\NETBEANS\platform6\lib\locale\swing-l10n_pt_BR.jar;c:\programs\java160\lib\dt.jar;c:\programs\java160\lib\jconsole.jar;c:\programs\java160\lib\tools.jar;" -Dnetbeans.user="K:\HOME\DJCAETANO\.netbeans\5.5.1" -Dnetbeans.osenv="J:\LOTUS\TEMP\nbenv61.013" -Dnetbeans.osenv.nullsep=FALSE -Dnetbeans.dirs="K:\NETBEANS\nb5.0;K:\NETBEANS\ide6" -Dnetbeans.home="K:\NETBEANS\platform6"  -Dnetbeans.importclass=org.netbeans.upgrade.AutoUpgrade -Dnetbeans.accept_license_class=org.netbeans.license.AcceptLicense -Xms32m -Xmx128m -XX:PermSize=32m -XX:MaxPermSize=160m -Xverify:none -Dapple.laf.useScreenMenuBar=true org.netbeans.Main  --branding nb

   No wonder why OS/2 complains about the command line size. :P

miturbide

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1154
    • View Profile
    • OS2World
Re: Java for os2
« Reply #41 on: 2011.04.19, 05:24:53 »
I also tried a small app that was on Jabaco sample (a calculator). Jabaco is BASIC compiler similar to VB6 in java technology. (http://www.jabaco.org/)

Too bad that the Jabaco IDE only runs on Windows, but it can generate .jar files, which Im testing.

Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

djcaetano

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Java for os2
« Reply #42 on: 2011.04.30, 23:50:24 »
Use http://netbeans.org/downloads/zip.html there you'll find the ZIP files
I use netbeans 5 with JDK 1.4.1 and runs just fine. Tell me how it works with the new Java
Nos vemos

  Hi Leo!

  I was not able to make NetBeans 5 start up so I fall back to NetBeans 4.1. I was
able to run it with Java 1.4.2, Java 1.5.0 and OpenJDK 1.6.0... But I am experiencing
a bizarre problem: NetBeans doesn't show me any text outputs when running the program
through the IDE. That means: System.out.println doesn't produce any result when running
inside the IDE. Running the JAR directly works ok. Swing output also works nice.

   Are you experiencing this kind of problem?

miturbide

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1154
    • View Profile
    • OS2World
Re: Java for os2
« Reply #43 on: 2011.05.01, 16:22:56 »
I also tried the Netbeans 7 that was released some weeks ago.

I didn't get it to work. It even seems that the platform independ version has some binaries for Windows and Linux. Or possible I don't have the complete skills to make it run.

Martín Itúrbide
OS2World.com NewsMaster
Open Source Advocate

Skype - martiniturbide
Google Talk - martiniturbide@gmail.com

djcaetano

  • Full Member
  • ***
  • Posts: 205
    • View Profile
Re: Java for os2
« Reply #44 on: 2011.05.02, 03:49:01 »
I also tried the Netbeans 7 that was released some weeks ago.
I didn't get it to work. It even seems that the platform independ version has some binaries for Windows and Linux. Or possible I don't have the complete skills to make it run.

  The problem I am experiencing with any version since 5.0 is an OS/2 command line size limitation: the command line used to start netbeans is HUGE as I have posted previously. Have you solved this problem?