Author Topic: programming in Java with netbeans  (Read 5585 times)

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 8
  • -Receive: 91
  • Posts: 1174
    • View Profile
Re: programming in Java with netbeans
« Reply #15 on: June 15, 2015, 02:35:46 am »
Sorry, thought that 5.5.1 was a bug fix or so on 5.5. Tried 6.9.1 with modified command files from 5.0, but I get same error "SYS1065: The input line is too long".

The usual way around this error is to use a response file. A response file starts with @ and lists all parameters, one on each line and is run like foo.exe @response instead of foo.exe /param1 /param2 /etc.
Also watch out for long path names.
BTW, which zip are you using? netbeans-6.5.1-200903060201-ml-java.zip?

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #16 on: June 15, 2015, 02:46:16 am »
Ask Dave to redo the sh file, like he offered. Or use the windows.exe file should call everything too (did you actually use the Win exe) ?
No, I used your option "nbexec.cmd --jdkhome x:\java6jdk" but with a different drive and path of course ;-). Don't have much of a success with pe, most of the times it doesn't go or work.

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #17 on: June 15, 2015, 02:53:55 am »
The usual way around this error is to use a response file. A response file starts with @ and lists all parameters, one on each line and is run like foo.exe @response instead of foo.exe /param1 /param2 /etc.
Don't know what is the cause, the message just pops up. I tried to start nbexec in 6.9.1 and it generates the message with nbexec.cmd.

Also watch out for long path names.
Tell that the developers of netbeans, I don't know if we can freely change that. Don't know what happens.

BTW, which zip are you using? netbeans-6.5.1-200903060201-ml-java.zip?
I go to https://netbeans.org/downloads/6.9.1/index.html and choose for OS independent Zip. I choose Java SE and download. Same story for other versions, but sometimes there are more choices, then always for IDE.

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #18 on: June 17, 2015, 10:31:42 pm »
or get rid of the script:

pe nbexec.exe --userdir e:\tmp  --jdkhome E:\Programs\Java\JavaOld\OpenJDK6-GA
Tried this one, but get the message "Failure to load "Q:\netbeans_691\bin\netbeans.exe" due to bad or missing MSVCRT.DLL

I run it with Odin 0.89 (latest?), in system32 directory there is no such file as MSVCRT.DLL.

If you was successful on this one, what did you do to avoid that message? 

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 8
  • -Receive: 91
  • Posts: 1174
    • View Profile
Re: programming in Java with netbeans
« Reply #19 on: June 18, 2015, 02:45:56 am »
Find a Windows msvcrt.dll and put it into your Odin directory and retry.

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #20 on: June 19, 2015, 12:59:35 pm »
Find a Windows msvcrt.dll and put it into your Odin directory and retry.
Had an old one, it seems to work, but the installer comes back with another complaint that it can't find Java, even with --jdkhome and the location of Java. But pe destroys your ini in some way. I had a problem with a restart with the desktop and checkini did come up with lots of errors.  Looks like that dll's from a real Windows does do lots of harm when added to the Odin directory.

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 8
  • -Receive: 91
  • Posts: 1174
    • View Profile
Re: programming in Java with netbeans
« Reply #21 on: June 19, 2015, 04:22:15 pm »
I'm pretty sure used to mix in real Windows DLLs with Odin. Looking in my old Odin directory, I added msvcrt.dll at some point. Its dated from '99. It may be the version you used.

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #22 on: June 19, 2015, 06:38:48 pm »
I'm pretty sure used to mix in real Windows DLLs with Odin. Looking in my old Odin directory, I added msvcrt.dll at some point. Its dated from '99. It may be the version you used.
My version used version is Msvcrt.dll 266.293 01-03-99 21:44 (copied from File Commander/2)

Dave Yeo

  • Hero Member
  • *****
  • Thank You
  • -Given: 8
  • -Receive: 91
  • Posts: 1174
    • View Profile
Re: programming in Java with netbeans
« Reply #23 on: June 20, 2015, 04:00:23 am »
it's the same version I have here. Unluckily there is lots that go wrong with Odin and there doesn't seem to be debug builds anymore so no logging. As I don't have netbeans to test, you'll have to wait for Greggory to post his setup.

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #24 on: June 21, 2015, 02:24:55 am »
Installed Netbeans 6.1, this is the log. Halfway you can see that it is still a no go, we're missing a dll in our SDK. Second, there is a lot coming with it we can omit, like the double byte locale.
-------------------------------------------------------------------------------
>Log Session: Sunday, June 21, 2015 1:47:25 AM CEST
>System Info:
  Product Version         = NetBeans Platform Dev (Build 200805300101)
  Operating System        = OS/2 version 20.45 running on x86
  Java; VM; Vendor        = 1.6.0_27; OpenJDK Client VM 20.0-b12; Sun Microsystems Inc.
  Runtime                 = OpenJDK Runtime Environment 1.6.0_27-b01-GA5
  Java Home               = Q:\JAVA160\JRE
  System Locale; Encoding = nl_NL; Cp850
  Home Directory          = H:\HOME\DEFAULT
  Current Directory       = q:\netbeans_61\platform8
  User Directory          = Q:\NETBEANSUSER
  Installation            = Q:\netbeans_61\platform8
  Boot & Ext. Classpath   = Q:\JAVA160\JRE\lib\resources.jar;Q:\JAVA160\JRE\lib\rt.jar;Q:\JAVA160\JRE\lib\sunrsasign.jar;Q:\JAVA160\JRE\lib\jsse.jar;Q:\JAVA160\JRE\lib\jce.jar;Q:\JAVA160\JRE\lib\charsets.jar;Q:\JAVA160\JRE\lib\modules\jdk.boot.jar;Q:\JAVA160\JRE\classes;Q:\JAVA160\JRE\lib\ext\dnsns.jar;Q:\JAVA160\JRE\lib\ext\localedata.jar;Q:\JAVA160\JRE\lib\ext\sunjce_provider.jar;Q:\JAVA160\JRE\lib\ext\sunmscapi.jar;Q:\JAVA160\JRE\lib\ext\sunpkcs11.jar
  Application Classpath   = Q:\netbeans_61\platform8\lib\boot.jar;Q:\netbeans_61\platform8\lib\org-openide-modules.jar;Q:\netbeans_61\platform8\lib\org-openide-util.jar;Q:\netbeans_61\platform8\lib\locale\boot_ja.jar;Q:\netbeans_61\platform8\lib\locale\boot_pt_BR.jar;Q:\netbeans_61\platform8\lib\locale\boot_zh_CN.jar;Q:\netbeans_61\platform8\lib\locale\org-openide-modules_ja.jar;Q:\netbeans_61\platform8\lib\locale\org-openide-modules_pt_BR.jar;Q:\netbeans_61\platform8\lib\locale\org-openide-modules_zh_CN.jar;Q:\netbeans_61\platform8\lib\locale\org-openide-util_ja.jar;Q:\netbeans_61\platform8\lib\locale\org-openide-util_pt_BR.jar;Q:\netbeans_61\platform8\lib\locale\org-openide-util_zh_CN.jar;Q:\JAVA160\lib\dt.jar;Q:\JAVA160\lib\jconsole.jar;Q:\JAVA160\lib\tools.jar;
  Startup Classpath       = Q:\netbeans_61\platform8\core\core.jar;Q:\netbeans_61\platform8\core\org-openide-filesystems.jar;Q:\netbeans_61\platform8\core\locale\core_ja.jar;Q:\netbeans_61\platform8\core\locale\core_pt_BR.jar;Q:\netbeans_61\platform8\core\locale\core_zh_CN.jar;Q:\netbeans_61\platform8\core\locale\org-openide-filesystems_ja.jar;Q:\netbeans_61\platform8\core\locale\org-openide-filesystems_pt_BR.jar;Q:\netbeans_61\platform8\core\locale\org-openide-filesystems_zh_CN.jar
-------------------------------------------------------------------------------
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
   org.openide.util [7.12.0.1 1 200805300101]
   org.openide.modules [7.6 200805300101]
   org.openide.awt [7.1.0.1 200805300101]
   org.jdesktop.layout/1 [1.5 1.0.3 200805300101]
   org.netbeans.api.progress/1 [1.11.0.1 1 200805300101]
   org.openide.dialogs [7.6 200805300101]
   org.openide.nodes [7.3.0.1 200805300101]
   org.openide.explorer [6.13 1 200805300101]
   org.openide.windows [6.20 200805300101]
   org.openide.filesystems [7.8 200805300101]
   org.netbeans.modules.editor.mimelookup/1 [1.9 200805300101]
   org.openide.text [6.18 200805300101]
   org.openide.actions [6.7.0.1 200805300101]
   org.netbeans.bootstrap/1 [2.11 200805300101]
   org.netbeans.core.startup/1 [1.12.0.1 200805300101]
   org.netbeans.modules.queries/1 [1.12 200805300101]
   org.netbeans.modules.progress.ui [1.1 200805300101]
   org.netbeans.modules.masterfs/2 [2.14 200805300101]
   org.netbeans.libs.jna/1 [1.0 200805300101]
   org.netbeans.modules.options.api/1 [1.6 200805300101]
   org.openide.loaders [6.9 200805300101]
   org.openide.io [1.12 200805300101]
   org.netbeans.swing.plaf [1.7 200805300101]
   org.netbeans.core/2 [3.7.0.1 200805300101]
   org.netbeans.modules.settings/1 [1.14 200805300101]
   org.netbeans.swing.tabcontrol [1.11 200805300101]
   org.netbeans.core.windows/2 [2.10.0.1 200805300101]
   org.netbeans.core.nativeaccess/1 [1.0 200805300101]
   org.netbeans.libs.jsr223/1 [1.7 6 200805300101]
   org.netbeans.modules.templates [1.2 200805300101]
   org.netbeans.core.output2/1 [1.9.0.1 1 200805300101]
   org.netbeans.core.ui/1 [1.11 200805300101]
   org.netbeans.modules.editor.mimelookup.impl/1 [1.2 200805300101]
   org.netbeans.modules.favorites/1 [1.13 200805300101]
   org.netbeans.modules.autoupdate.services [1.4 200805300101]
   org.netbeans.modules.options.keymap [1.3 200805300101]
   org.netbeans.modules.autoupdate.ui [1.4 200805300101]
   org.netbeans.modules.core.kit [1.1 200805300101]
INFO [org.netbeans.core.nativeaccess.NativeWindowSystemImpl]
java.lang.UnsatisfiedLinkError: jnidispatch (/com/sun/jna/os/2-x86/jnidispatch.dll) not found in resource path
   at com.sun.jna.Native.loadNativeLibrary(Native.java:468)
   at com.sun.jna.Native.<clinit>(Native.java:91)
   at org.netbeans.core.nativeaccess.transparency.unix.X11.<clinit>(X11.java:250)
   at org.netbeans.core.nativeaccess.transparency.WindowUtils$X11WindowUtils.getAlphaVisualIDs(WindowUtils.java:1069)
   at org.netbeans.core.nativeaccess.transparency.WindowUtils$X11WindowUtils.isWindowAlphaSupported(WindowUtils.java:1019)
   at org.netbeans.core.nativeaccess.transparency.WindowUtils.isWindowAlphaSupported(WindowUtils.java:1349)
[catch] at org.netbeans.core.nativeaccess.NativeWindowSystemImpl.isWindowAlphaSupported(NativeWindowSystemImpl.java:61)
   at org.netbeans.core.windows.FloatingWindowTransparencyManager.start(FloatingWindowTransparencyManager.java:77)
   at org.netbeans.core.windows.WindowManagerImpl.setVisible(WindowManagerImpl.java:760)
   at org.netbeans.core.windows.WindowSystemImpl.show(WindowSystemImpl.java:87)
   at org.netbeans.core.NonGui$2.run(NonGui.java:195)
   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:226)
   at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:667)
   at java.awt.EventQueue.access$300(EventQueue.java:96)
   at java.awt.EventQueue$2.run(EventQueue.java:628)
   at java.awt.EventQueue$2.run(EventQueue.java:626)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
   at java.awt.EventQueue.dispatchEvent(EventQueue.java:637)
   at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
   at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Diagnostic information
Input arguments:
   -Djdk.home=Q:\JAVA160
   -Dnetbeans.user=Q:\NETBEANSUSER
   -Dnetbeans.osenv=E:\var\temp\nbenv51.697
   -Dnetbeans.osenv.nullsep=FALSE
   -Dnetbeans.dirs=
   -Dnetbeans.home=Q:\netbeans_61\platform8
Compiler: HotSpot Client Compiler
Heap memory usage: initial 16,0MB maximum 247,5MB
Non heap memory usage: initial 12,2MB maximum 96,0MB
Garbage collector: Copy (Collections=9 Total time spent=0s)
Garbage collector: MarkSweepCompact (Collections=1 Total time spent=0s)
Classes: loaded=3213 total loaded=3213 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 1.072.496.640
INFO [null]: Total physical memory 1.072.496.640
WARNING [org.openide.filesystems.Ordering]: Not all children in Menu/Edit/ marked with the position attribute: [Separator3.instance, org-netbeans-core-actions-JumpNextAction.shadow, org-netbeans-core-actions-JumpPrevAction.shadow], but some are: [org-openide-actions-UndoAction.instance, org-openide-actions-RedoAction.instance, Separator1.instance, org-openide-actions-CutAction.instance, org-openide-actions-CopyAction.instance, org-openide-actions-PasteAction.instance, org-openide-actions-DeleteAction.instance, Separator2.instance, org-openide-actions-FindAction.instance, org-openide-actions-ReplaceAction.instance]

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #25 on: June 21, 2015, 02:02:03 pm »
Installed Netbeans version 6.5. Now I don't get a complaint about a missing dll, strange? I'm curious if we can delete the _ja, _CN and _BR stuff. This might trigger in later versions the error "line is too long". Here is the log;

-------------------------------------------------------------------------------
>Log Session: Sunday, June 21, 2015 1:45:17 PM CEST
>System Info:
  Product Version         = NetBeans Platform 6.5 (Build 200811100001)
  Operating System        = OS/2 version 20.45 running on x86
  Java; VM; Vendor        = 1.6.0_27; OpenJDK Client VM 20.0-b12; Sun Microsystems Inc.
  Runtime                 = OpenJDK Runtime Environment 1.6.0_27-b01-GA5
  Java Home               = Q:\JAVA160\JRE
  System Locale; Encoding = nl_NL; Cp850
  Home Directory          = H:\HOME\DEFAULT
  Current Directory       = q:\netbeans\platform9
  User Directory          = Q:\NETBEANSUSER
  Installation            = Q:\netbeans\platform9
  Boot & Ext. Classpath   = Q:\JAVA160\JRE\lib\resources.jar;Q:\JAVA160\JRE\lib\rt.jar;Q:\JAVA160\JRE\lib\sunrsasign.jar;Q:\JAVA160\JRE\lib\jsse.jar;Q:\JAVA160\JRE\lib\jce.jar;Q:\JAVA160\JRE\lib\charsets.jar;Q:\JAVA160\JRE\lib\modules\jdk.boot.jar;Q:\JAVA160\JRE\classes;Q:\JAVA160\JRE\lib\ext\dnsns.jar;Q:\JAVA160\JRE\lib\ext\localedata.jar;Q:\JAVA160\JRE\lib\ext\sunjce_provider.jar;Q:\JAVA160\JRE\lib\ext\sunmscapi.jar;Q:\JAVA160\JRE\lib\ext\sunpkcs11.jar
  Application Classpath   = Q:\netbeans\platform9\lib\boot.jar;Q:\netbeans\platform9\lib\org-openide-modules.jar;Q:\netbeans\platform9\lib\org-openide-util.jar;Q:\netbeans\platform9\lib\locale\boot_ja.jar;Q:\netbeans\platform9\lib\locale\boot_pt_BR.jar;Q:\netbeans\platform9\lib\locale\boot_zh_CN.jar;Q:\netbeans\platform9\lib\locale\org-openide-modules_ja.jar;Q:\netbeans\platform9\lib\locale\org-openide-modules_pt_BR.jar;Q:\netbeans\platform9\lib\locale\org-openide-modules_zh_CN.jar;Q:\netbeans\platform9\lib\locale\org-openide-util_ja.jar;Q:\netbeans\platform9\lib\locale\org-openide-util_pt_BR.jar;Q:\netbeans\platform9\lib\locale\org-openide-util_zh_CN.jar;Q:\JAVA160\lib\dt.jar;Q:\JAVA160\lib\jconsole.jar;Q:\JAVA160\lib\tools.jar;
  Startup Classpath       = Q:\netbeans\platform9\core\core.jar;Q:\netbeans\platform9\core\org-openide-filesystems.jar;Q:\netbeans\platform9\core\locale\core_ja.jar;Q:\netbeans\platform9\core\locale\core_pt_BR.jar;Q:\netbeans\platform9\core\locale\core_zh_CN.jar;Q:\netbeans\platform9\core\locale\org-openide-filesystems_ja.jar;Q:\netbeans\platform9\core\locale\org-openide-filesystems_pt_BR.jar;Q:\netbeans\platform9\core\locale\org-openide-filesystems_zh_CN.jar
-------------------------------------------------------------------------------
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
   org.openide.util [7.18.1.1 1 200811100001]
   org.openide.modules [7.7.1 200811100001]
   org.openide.awt [7.3.1.1 200811100001]
   org.jdesktop.layout/1 [1.6.1 1.0.3 200811100001]
   org.netbeans.api.progress/1 [1.12.1.1 1 200811100001]
   org.openide.dialogs [7.8.1 200811100001]
   org.netbeans.swing.outline [1.1.1 200811100001]
   org.openide.nodes [7.7.1.1 200811100001]
   org.openide.explorer [6.16.1 1 200811100001]
   org.openide.windows [6.24.1 200811100001]
   org.openide.filesystems [7.13.1.1.1 1 200811100001]
   org.netbeans.modules.editor.mimelookup/1 [1.10.1 200811100001]
   org.openide.text [6.21.1 200811100001]
   org.openide.actions [6.8.1.1 200811100001]
   org.netbeans.modules.queries/1 [1.13.1 200811100001]
   org.openide.loaders [7.2.1 200811100001]
   org.netbeans.bootstrap/1 [2.15.1 200811100001]
   org.netbeans.core.startup/1 [1.14.1.1 200811100001]
   org.openide.io [1.13.1 200811100001]
   org.netbeans.swing.plaf [1.8.1 200811100001]
   org.netbeans.core/2 [3.10.1.1 200811100001]
   org.netbeans.modules.settings/1 [1.15.1 200811100001]
   org.netbeans.swing.tabcontrol [1.13.1 200811100001]
   org.netbeans.spi.quicksearch [1.0.1 200811100001]
   org.netbeans.modules.options.api/1 [1.10.1 200811100001]
   org.netbeans.core.windows/2 [2.12.1.1 200811100001]
   org.netbeans.core.output2/1 [1.10.1.1 1 200811100001]
   org.netbeans.libs.jna/1 [1.1.1 200811100001]
   org.netbeans.core.nativeaccess/1 [1.1.1 200811100001]
   org.netbeans.modules.autoupdate.services [1.5.1 200811100001]
   org.netbeans.modules.editor.mimelookup.impl/1 [1.3.1 200811100001]
   org.netbeans.modules.masterfs/2 [2.15.1 200811100001]
   org.netbeans.libs.jsr223/1 [1.8.1 6 200811100001]
   org.netbeans.modules.autoupdate.ui [1.5.1 200811100001]
   org.netbeans.modules.favorites/1 [1.14.1 200811100001]
   org.netbeans.modules.options.keymap [1.4.1 200811100001]
   org.netbeans.modules.templates [1.3.1 200811100001]
   org.netbeans.modules.progress.ui [1.2.1 200811100001]
   org.netbeans.core.ui/1 [1.12.1 200811100001]
   org.netbeans.modules.core.kit [1.2.1 200811100001]
WARNING [org.openide.filesystems.Ordering]: Not all children in Toolbars/ marked with the position attribute: [Standard.xml], but some are: [File, Clipboard, UndoRedo, Memory]
Diagnostic information
Input arguments:
   -Djdk.home=Q:\JAVA160
   -Dnetbeans.user=Q:\NETBEANSUSER
   -Dnetbeans.osenv=E:\var\temp\nbenv78.923
   -Dnetbeans.osenv.nullsep=FALSE
   -Dnetbeans.dirs=
   -Dnetbeans.home=Q:\netbeans\platform9
Compiler: HotSpot Client Compiler
Heap memory usage: initial 16,0MB maximum 247,5MB
Non heap memory usage: initial 12,2MB maximum 96,0MB
Garbage collector: Copy (Collections=9 Total time spent=0s)
Garbage collector: MarkSweepCompact (Collections=1 Total time spent=0s)
Classes: loaded=3247 total loaded=3247 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 1.072.496.640
INFO [null]: Total physical memory 1.072.496.640

If you want to try yourself, you need nbexec.cmd, enclosed the one I use. The nbexec.cmd has to be placed in the directory drive:\netbeans\platformX\lib. The X in platformX might be there or is a figure which is for now for some reason going up, for this version its platform9.
Next you have to run it. Go to drive\bnetbeans\platform9\lib, your nbexec.cmd is there!
nbexec.cmd --jdkhome your SDK drive\path in capitals --userdir drive\path (this MUST be outside netbeans or JAVA.
So, to get the above
nbexec.cmd --jdkhome Q:\JAVA160 --userdir Q:\NETBEANSUSER
I read somewhere in the faq on netbeans homepage that with installation problems its best to use capitals.
« Last Edit: June 21, 2015, 02:04:43 pm by Joop »

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #26 on: June 21, 2015, 02:43:53 pm »
Installed netbeans 6.7.1.  This is the log;

-------------------------------------------------------------------------------
>Log Session: Sunday, June 21, 2015 2:29:10 PM CEST
>System Info:
  Product Version         = NetBeans Platform 6.7.1 (Build 200911211148)
  Operating System        = OS/2 version 20.45 running on x86
  Java; VM; Vendor        = 1.6.0_27; OpenJDK Client VM 20.0-b12; Sun Microsystems Inc.
  Runtime                 = OpenJDK Runtime Environment 1.6.0_27-b01-GA5
  Java Home               = Q:\JAVA160\JRE
  System Locale; Encoding = nl_NL; Cp850
  Home Directory          = H:\HOME\DEFAULT
  Current Directory       = q:\netbeans\platform10
  User Directory          = Q:\NETBEANSUSER
  Installation            = Q:\netbeans\platform10
  Boot & Ext. Classpath   = Q:\JAVA160\JRE\lib\resources.jar;Q:\JAVA160\JRE\lib\rt.jar;Q:\JAVA160\JRE\lib\sunrsasign.jar;Q:\JAVA160\JRE\lib\jsse.jar;Q:\JAVA160\JRE\lib\jce.jar;Q:\JAVA160\JRE\lib\charsets.jar;Q:\JAVA160\JRE\lib\modules\jdk.boot.jar;Q:\JAVA160\JRE\classes;Q:\JAVA160\JRE\lib\ext\dnsns.jar;Q:\JAVA160\JRE\lib\ext\localedata.jar;Q:\JAVA160\JRE\lib\ext\sunjce_provider.jar;Q:\JAVA160\JRE\lib\ext\sunmscapi.jar;Q:\JAVA160\JRE\lib\ext\sunpkcs11.jar
  Application Classpath   = Q:\netbeans\platform10\lib\boot.jar;Q:\netbeans\platform10\lib\org-openide-modules.jar;Q:\netbeans\platform10\lib\org-openide-util.jar;Q:\netbeans\platform10\lib\locale\boot_ja.jar;Q:\netbeans\platform10\lib\locale\boot_pt_BR.jar;Q:\netbeans\platform10\lib\locale\boot_zh_CN.jar;Q:\netbeans\platform10\lib\locale\org-openide-modules_ja.jar;Q:\netbeans\platform10\lib\locale\org-openide-modules_pt_BR.jar;Q:\netbeans\platform10\lib\locale\org-openide-modules_zh_CN.jar;Q:\netbeans\platform10\lib\locale\org-openide-util_ja.jar;Q:\netbeans\platform10\lib\locale\org-openide-util_pt_BR.jar;Q:\netbeans\platform10\lib\locale\org-openide-util_zh_CN.jar;Q:\JAVA160\lib\dt.jar;Q:\JAVA160\lib\jconsole.jar;Q:\JAVA160\lib\tools.jar;
  Startup Classpath       = Q:\netbeans\platform10\core\core.jar;Q:\netbeans\platform10\core\org-openide-filesystems.jar;Q:\netbeans\platform10\core\locale\core_ja.jar;Q:\netbeans\platform10\core\locale\core_pt_BR.jar;Q:\netbeans\platform10\core\locale\core_zh_CN.jar;Q:\netbeans\platform10\core\locale\org-openide-filesystems_ja.jar;Q:\netbeans\platform10\core\locale\org-openide-filesystems_pt_BR.jar;Q:\netbeans\platform10\core\locale\org-openide-filesystems_zh_CN.jar
-------------------------------------------------------------------------------
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
   org.openide.util [7.22.1.1 1 200911211148]
   org.openide.modules [7.10.1 200911211148]
   org.jdesktop.layout/1 [1.7.1.103 103 200911211148]
   org.netbeans.swing.plaf [1.9.1 200911211148]
   org.openide.awt [7.8.1.1 200911211148]
   org.openide.filesystems [7.21.1.1.1 1 200911211148]
   org.netbeans.bootstrap/1 [2.18.1 200911211148]
   org.netbeans.core.startup/1 [1.15.1.1 200911211148]
   org.netbeans.api.progress/1 [1.13.1.1 1 200911211148]
   org.netbeans.modules.autoupdate.services [1.8.2 200911211148]
   org.openide.dialogs [7.10.1 200911211148]
   org.netbeans.swing.outline [1.4.1 200911211148]
   org.openide.nodes [7.9.2.1 200911211148]
   org.openide.explorer [6.18.2.1 1 200911211148]
   org.openide.windows [6.26.1 200911211148]
   org.netbeans.modules.editor.mimelookup/1 [1.11.1 200911211148]
   org.openide.text [6.22.1 200911211148]
   org.openide.actions [6.9.2.1 200911211148]
   org.openide.io [1.16.1 200911211148]
   org.netbeans.core.output2/1 [1.11.1.1 1 200911211148]
   org.netbeans.modules.queries/1 [1.14.1 200911211148]
   org.openide.loaders [7.5.2 200911211148]
   org.netbeans.core/2 [3.11.1.1 200911211148]
   org.netbeans.core.io.ui/1 [1.1.1.1 1 200911211148]
   org.netbeans.libs.jna/1 [1.2.1 200911211148]
   org.netbeans.swing.tabcontrol [1.15.2 200911211148]
   org.netbeans.spi.quicksearch [1.1.1 200911211148]
   org.netbeans.modules.options.api/1 [1.12.2 200911211148]
   org.netbeans.core.ui/1 [1.14.1.1 200911211148]
   org.netbeans.modules.autoupdate.ui [1.7.2 200911211148]
   org.netbeans.modules.masterfs/2 [2.16.1 200911211148]
   org.netbeans.modules.print [7.0.1 200911211148]
   org.netbeans.libs.jsr223/1 [1.9.1.6 6 200911211148]
   org.netbeans.modules.templates [1.4.1 200911211148]
   org.netbeans.modules.favorites/1 [1.15.1 200911211148]
   org.netbeans.modules.settings/1 [1.18.1.1 200911211148]
   org.netbeans.core.windows/2 [2.14.2.1 200911211148]
   org.netbeans.modules.options.keymap [1.5.1 200911211148]
   org.netbeans.modules.core.kit [1.3.2 200911211148]
   org.netbeans.core.nativeaccess/1 [1.2.1 200911211148]
   org.netbeans.modules.editor.mimelookup.impl/1 [1.4.1 200911211148]
   org.netbeans.modules.progress.ui [1.3.1.1 200911211148]
WARNING [org.openide.filesystems.Ordering]: Not all children in Toolbars/ marked with the position attribute: [Standard.xml], but some are: [File, Clipboard, UndoRedo, Memory]
Diagnostic information
Input arguments:
   -Djdk.home=Q:\JAVA160
   -Dnetbeans.user=Q:\NETBEANSUSER
   -Dnetbeans.osenv=E:\var\temp\nbenv88.581
   -Dnetbeans.osenv.nullsep=FALSE
   -Dnetbeans.dirs=
   -Dnetbeans.home=Q:\netbeans\platform10
Compiler: HotSpot Client Compiler
Heap memory usage: initial 16,0MB maximum 247,5MB
Non heap memory usage: initial 12,2MB maximum 96,0MB
Garbage collector: Copy (Collections=10 Total time spent=0s)
Garbage collector: MarkSweepCompact (Collections=1 Total time spent=0s)
Classes: loaded=3277 total loaded=3277 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 1.072.496.640
INFO [null]: Total physical memory 1.072.496.640

It looks like there are no problems.

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #27 on: June 21, 2015, 02:45:16 pm »
Can't stop trying. Netbeans 6.8 and this is the log;

-------------------------------------------------------------------------------
>Log Session: Sunday, June 21, 2015 2:38:08 PM CEST
>System Info:
  Product Version         = NetBeans Platform 6.8 (Build 200912041610)
  Operating System        = OS/2 version 20.45 running on x86
  Java; VM; Vendor        = 1.6.0_27; OpenJDK Client VM 20.0-b12; Sun Microsystems Inc.
  Runtime                 = OpenJDK Runtime Environment 1.6.0_27-b01-GA5
  Java Home               = Q:\JAVA160\JRE
  System Locale; Encoding = nl_NL; Cp850
  Home Directory          = H:\HOME\DEFAULT
  Current Directory       = q:\netbeans\platform11
  User Directory          = Q:\NETBEANSUSER
  Installation            = Q:\netbeans\platform11
  Boot & Ext. Classpath   = Q:\JAVA160\JRE\lib\resources.jar;Q:\JAVA160\JRE\lib\rt.jar;Q:\JAVA160\JRE\lib\sunrsasign.jar;Q:\JAVA160\JRE\lib\jsse.jar;Q:\JAVA160\JRE\lib\jce.jar;Q:\JAVA160\JRE\lib\charsets.jar;Q:\JAVA160\JRE\lib\modules\jdk.boot.jar;Q:\JAVA160\JRE\classes;Q:\JAVA160\JRE\lib\ext\dnsns.jar;Q:\JAVA160\JRE\lib\ext\localedata.jar;Q:\JAVA160\JRE\lib\ext\sunjce_provider.jar;Q:\JAVA160\JRE\lib\ext\sunmscapi.jar;Q:\JAVA160\JRE\lib\ext\sunpkcs11.jar
  Application Classpath   = Q:\netbeans\platform11\lib\boot.jar;Q:\netbeans\platform11\lib\org-openide-modules.jar;Q:\netbeans\platform11\lib\org-openide-util.jar;Q:\netbeans\platform11\lib\locale\boot_ja.jar;Q:\netbeans\platform11\lib\locale\boot_pt_BR.jar;Q:\netbeans\platform11\lib\locale\boot_zh_CN.jar;Q:\netbeans\platform11\lib\locale\org-openide-modules_ja.jar;Q:\netbeans\platform11\lib\locale\org-openide-modules_pt_BR.jar;Q:\netbeans\platform11\lib\locale\org-openide-modules_zh_CN.jar;Q:\netbeans\platform11\lib\locale\org-openide-util_ja.jar;Q:\netbeans\platform11\lib\locale\org-openide-util_pt_BR.jar;Q:\netbeans\platform11\lib\locale\org-openide-util_zh_CN.jar;Q:\JAVA160\lib\dt.jar;Q:\JAVA160\lib\jconsole.jar;Q:\JAVA160\lib\tools.jar;
  Startup Classpath       = Q:\netbeans\platform11\core\core.jar;Q:\netbeans\platform11\core\org-openide-filesystems.jar;Q:\netbeans\platform11\core\locale\core_ja.jar;Q:\netbeans\platform11\core\locale\core_pt_BR.jar;Q:\netbeans\platform11\core\locale\core_zh_CN.jar;Q:\netbeans\platform11\core\locale\org-openide-filesystems_ja.jar;Q:\netbeans\platform11\core\locale\org-openide-filesystems_pt_BR.jar;Q:\netbeans\platform11\core\locale\org-openide-filesystems_zh_CN.jar
-------------------------------------------------------------------------------
INFO [org.netbeans.core.startup.NbEvents]: Turning on modules:
   org.openide.util [7.31.1.1 1 200912041610]
   org.openide.modules [7.13.1 200912041610]
   org.openide.awt [7.19.1.1 200912041610]
   org.jdesktop.layout/1 [1.10.1.103 103 200912041610]
   org.netbeans.api.progress/1 [1.16.1.1 1 200912041610]
   org.openide.dialogs [7.13.1 200912041610]
   org.netbeans.swing.outline [1.7.1 200912041610]
   org.openide.nodes [7.12.1.1 200912041610]
   org.openide.explorer [6.22.1.1 1 200912041610]
   org.openide.windows [6.30.1 200912041610]
   org.openide.filesystems [7.32.1.1.1 1 200912041610]
   org.netbeans.modules.editor.mimelookup/1 [1.14.1 200912041610]
   org.openide.text [6.27.1 200912041610]
   org.openide.actions [6.12.1.1 200912041610]
   org.netbeans.bootstrap/1 [2.22.1 200912041610]
   org.netbeans.core.startup/1 [1.19.1.1 200912041610]
   org.netbeans.spi.quicksearch [1.4.1 200912041610]
   org.netbeans.modules.queries/1 [1.17.1 200912041610]
   org.openide.loaders [7.10.1 200912041610]
   org.openide.io [1.20.1 200912041610]
   org.netbeans.swing.plaf [1.12.1 200912041610]
   org.netbeans.core/2 [3.14.1.1 200912041610]
   org.netbeans.modules.options.api/1 [1.16.1 200912041610]
   org.netbeans.modules.options.keymap [1.8.1 200912041610]
   org.netbeans.libs.jna/1 [1.5.1 200912041610]
   org.netbeans.modules.favorites/1 [1.18.1 200912041610]
   org.netbeans.modules.settings/1 [1.22.1.1 200912041610]
   org.netbeans.swing.tabcontrol [1.19.1 200912041610]
   org.netbeans.core.windows/2 [2.17.1.1 200912041610]
   org.netbeans.core.nativeaccess/1 [1.5.1 200912041610]
   org.netbeans.libs.jsr223/1 [1.12.1.6 6 200912041610]
   org.netbeans.modules.templates [1.7.1 200912041610]
   org.netbeans.modules.autoupdate.services [1.16.1 200912041610]
   org.netbeans.core.ui/1 [1.19.1.1 200912041610]
   org.netbeans.modules.autoupdate.ui [1.14.1 200912041610]
   org.netbeans.modules.masterfs/2 [2.20.1 200912041610]
   org.netbeans.modules.print [7.3.1 200912041610]
   org.netbeans.modules.core.kit [1.6.1 200912041610]
   org.netbeans.modules.editor.mimelookup.impl/1 [1.7.1 200912041610]
   org.netbeans.core.output2/1 [1.14.1.1 1 200912041610]
   org.netbeans.modules.progress.ui [1.6.1.1 200912041610]
   org.netbeans.core.io.ui/1 [1.4.1.1 1 200912041610]
Diagnostic information
Input arguments:
   -Djdk.home=Q:\JAVA160
   -Dnetbeans.user=Q:\NETBEANSUSER
   -Dnetbeans.osenv=E:\var\temp\nbenv21.190
   -Dnetbeans.osenv.nullsep=FALSE
   -Dnetbeans.dirs=
   -Dnetbeans.home=Q:\netbeans\platform11
Compiler: HotSpot Client Compiler
Heap memory usage: initial 16,0MB maximum 247,5MB
Non heap memory usage: initial 12,2MB maximum 96,0MB
Garbage collector: Copy (Collections=10 Total time spent=0s)
Garbage collector: MarkSweepCompact (Collections=1 Total time spent=0s)
Classes: loaded=3276 total loaded=3276 unloaded 0
INFO [org.netbeans.core.ui.warmup.DiagnosticTask]: Total memory 1.072.496.640
INFO [null]: Total physical memory 1.072.496.640



Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #28 on: June 21, 2015, 02:59:49 pm »
Tried again version 6.9.1 in identical way as previous versions and I get the error "line too long". So for now it looks like version 6.8 is the last we can use. Versions up 6.9.1 are for JAVA 7.

Joop

  • Sr. Member
  • ****
  • Thank You
  • -Given: 0
  • -Receive: 30
  • Posts: 408
    • View Profile
Re: programming in Java with netbeans
« Reply #29 on: June 21, 2015, 04:48:47 pm »
Now we know that Netbeans 6.8 does install, we still can't do a thing with it because the modules are not loaded. To do that you have to go to drive\netbeans\bin and run netbeans.cmd. But this file is from version 4.1 or so. So all directories are wrong in some sort. I'm not too deep in REXX, may be someone can help here.
The good news, I managed to install Netbeans 6.8 complete, including the modules. I got at first the error "line is too long", but from the above I saw that all kind of locale files are in it too. So I deleted all locale files except one. Did edit the file netbeans.cmd, first wrong and of course no success, re-insert other directories and I got started.
Its still not alright, I don't have icons, so the installer did not fully run. to give you an idea;