This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeansIDE-dev-200310291900.tar.bz2 on Linux/PPC IDE doesn't even startup because of java.security.NoSuchAlgorithmException: SHA1PRNG SecureRandom not available The java version is 1.4.1 from IBM
Created attachment 12035 [details] output of the execution and of java -version
Jesse, cvs annotate says that you are the last person working on org.netbeans.CLIHandler class. I have no idea whether this algorithm is required and it is bug of IBM JDK or not. Post at <https://listman.redhat.com/archives/redhat-ccm-list/2003-January/msg00043.html> suggests to try different algorithm for IBM JDK.
Hmm, according to http://java.sun.com/j2se/1.4.1/docs/guide/security/CryptoSpec.html#AppA it seems that the IBM JDK is in error for not supporting this algorithm - but maybe I am misreading the specification. Anyway, thanks for the tip, I will try to fix.
Created attachment 12072 [details] the source code
Created attachment 12073 [details] provider list
I just wrote a program that lists all security provider from IBM JVM.
Created attachment 12077 [details] Possible patch - pls. check if it works for you on IBM JDK, if you have time to build from sources
I never tried to rebuild the NetBeans, but I will try to have a look at it. I am downloading all sources right now.
Actually I cannot compile the vanilla sources: all-xml/tax: [echo] Building module xml/tax... init: compile: [for-each] Process 'lib' location with 'compile' target ... set-buildnumber: init: [echo] buildnumber = 031112 unscramble: compile: [echo] Compiling TAX library classes... [javac] Compiling 139 source files to /home/giuseppe/src/netbeans-src/xml/tax/lib/src [for-each] /home/giuseppe/src/netbeans-src/xml/tax/lib/src/org/netbeans/tax/io/XNIBuilder.java:1513: cannot resolve symbol [for-each] symbol : method getSystemId () [for-each] location: interface org.apache.xerces.xni.XMLLocator [for-each] String entity = locator.getSystemId (); [for-each] ^ [for-each] 1 error
I just checked out the trunk_ant module from CVS and then compield it. The compilation failed in this way. Do you have any suggestion? netbeans: [genlist] Generating information for Auto Update... all-ui/welcome: [echo] Building module ui/welcome... BUILD FAILED file:/home/giuseppe/src/netbeans-cvs/nbbuild/build.xml:737: Basedir /home/giuseppe/src/netbeans-cvs/ui/welcome does not exist
I will not keep compiling the source for today. anyway: I checked your source and I think it is good.
Don't worry about building from sources, I will try to put the patch into the trunk and you can check in a dev build after it is committed.
I found that I am not the only one that can't compile from CVS. In this email the netbeans builder say how to get the latest compilable CVS source. http://www.netbeans.org/servlets/ReadMsg?msgId=614981&listName=automated_builds so I checked out the compilable version and tried to compile with ant. After some time I got the same error. So, as you suggested, I will wait for your commit. Anyway, I think there is some other problem, compiling with IBM JSDK. compile: [echo] Compiling TAX library classes... [javac] Compiling 139 source files to /home/giuseppe/src/netbeans-stable-cvs/xml/tax/lib/src [for-each] /home/giuseppe/src/netbeans-stable-cvs/xml/tax/lib/src/org/netbeans/tax/io/XNIBuilder.java:1513: cannot resolve symbol [for-each] symbol : method getSystemId () [for-each] location: interface org.apache.xerces.xni.XMLLocator [for-each] String entity = locator.getSystemId (); [for-each] ^ [for-each] 1 error
I did try the new development snapshot dated 20031113 and it works. I think that this patch is applied but I coundn't check (lack of time). Moreover I found other problems in starting the new netbeans, like having the option -J-ea in bin/ide.cfg that block netbeans since the IBM java command gives error when run with this option. should I close this issue and open a new one for so small problem or is enought to send en email to nbdev mailing list?
This patch has not yet been applied, so I am curious how a new dev build could have changed the behavior. Re. -ea: please open a fresh bug, it is not related to this at all. Use core component, subcomponent code, keyword JDK_SPECIFIC. Please add any info you know re. what the IBM VM uses to turn on assertions.
Patch applied in trunk, should be in next dev build produced. committed Up-To-Date 1.7 core/bootstrap/src/org/netbeans/CLIHandler.java
closed