Error Reading Zip File Rt Jar
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business rt.jar download Learn more about hiring developers or posting ads with us Super User Questions Tags Users
Java Jdk
Badges Unanswered Ask Question _ Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top error occurred during initialization of vm error opening zip file :error in opening JAR file
Type: Bug Status: Closed Priority: P3 Resolution: Duplicate Affects Version/s: 6 Fix Version/s: None Component/s: core-libs Labels: None Subcomponent: java.util.jar Introduced In Build: b45 Introduced In Version: 6 CPU: sparc OS: solaris_10 Description In volanotest run, there is "/usr/j2se/jre/lib/rt.jar: error reading zip file" error in server log. It's a regression in mustang b45. Mustang b44 is fine. The error happens on solaris sparc/x86, with -d64 and -server flags. It takes about 5 mintues for the problems to happens http://superuser.com/questions/762223/error-occurred-during-initialization-of-vm-error-opening-zip-file-error-in-open on solaris sparc with flags -d64 -XX:+UseConcMarkSweepGC. How to reproduce the problem: 0. log on to a solaris sparc machine ( let me ###@###.### know if you need access to a bigapps machine ) 1. export JAVA_HOME=
environment for Java Brought to you by: camus546, csreis, dlsmith, eallen, and 6 others Summary Files Reviews Support Wiki Mailing Lists Tickets ▾ Feature Requests Bugs https://sourceforge.net/p/drjava/bugs/770/ Support Requests News Legacy SVN Repository Git Repository Create Ticket View Stats https://forums.anandtech.com/threads/what-does-rt-jar-do-in-java.1967633/ Group 1: Would be nice if fixed ... 2: Annoying 3: Ugly 4: Serious 5: Makes DrJ unstable 6: Crashes 7: Could cause data loss Searches Changes Closed Tickets Open Tickets Help Formatting Help #770 cannot read zip file entry (r4932) Milestone: 4: Serious Status: closed-works-for-me Owner: error reading Mathias Ricken Labels: Compiler integration (85) Priority: 5 Updated: 2009-10-28 Created: 2009-07-29 Creator: Eugene Wee Private: No With reference to the bug entry with ID 2618570, I read that the workaround mentioned in the FAQ was reverted in revision 4675, and then reintroduced in revision 4761. However, using JDK 1.6.0 update 14 with revision 4932 (the 20090505 beta version) error reading zip on MS Windows XP SP3, I faced the same problem when attempting to compile: Error: error: error reading D:\path\drjava-beta-20090505-r4932.exe; cannot read zip file entry Perhaps this problem should be noted on the download page so users with JDK 1.6.0_04+ can immediately choose the jar file instead of placing their bets with the exe file. Discussion Mathias Ricken - 2009-08-01 We need to know a little bit more about your system to fix this bug. Please go to "Help -> About" and click on "System Properties". Then, click the "Copy System Properties" button and paste the results here in a new comment. Thanks, The DrJava Team If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Mathias Ricken - 2009-08-01 assigned_to: nobody --> mgricken status: open --> pending If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Mathias Ricken - 2009-08-01 I cannot reproduce this. Could you please provide us with your system inform
Display results as threads More... Useful Searches Recent Posts Menu Forums Forums Quick Links Search Forums Recent Posts Menu Log in Sign up AnandTech Forums: Technology, Hardware, Software, and Deals Forums > Software > Software for Windows > what does rt.jar do in java Discussion in 'Software for Windows' started by rookie1010, Nov 18, 2006. rookie1010 Senior member Joined: Mar 7, 2004 Messages: 984 Likes Received: 0 Hello what does the following code do, my underastanding is that the rt.jar somehow invokes the jre but why have it? C:\JDBCApp>javac -classpath .;c:/j2sdk1.4.2_04\jre\lib\rt.jar JDBCApp.java C:\JDBCApp>javac -classpath .;c:/j2sdk1.4.2_04\jre\lib\rt.jar JDBCDemo.java C:\JDBCApp> #1 rookie1010, Nov 18, 2006 Atheus Diamond Member Joined: Jun 7, 2005 Messages: 7,311 Likes Received: 1 JDBCApp.java and JDBCDemo.java use classes from rt.jar. Open it up and read the code - you should see import statements matching classes in the jar file. #2 Atheus, Nov 18, 2006 IHateMyJob2004 Lifer Joined: Sep 29, 2004 Messages: 17,701 Likes Received: 1 Why not extract the jar to it's files, see what the files are, then look for the API? You might need to DL the Java source ... but it's doable. #3 IHateMyJob2004, Nov 18, 2006 MrChad Lifer Joined: Aug 22, 2001 Messages: 13,505 Likes Received: 0 rt.jar contains all of the compiled class files for the base Java Runtime ("rt") Environment. Normally, javac should know the path to this file; I've never seen a case where one had to specify it with a -classpath argument. #4 MrChad, Nov 18, 2006 kamper Diamond Member Joined: Mar 18, 2003 Messages: 5,513 Likes Received: 0 Originally posted by: IHateMyJob2004 Why not extract the jar to it's files, see what the files are, then look for the API? You might need to DL the Java source ... but it's doable.Click to expand... The class library source comes with the distribution. But MrChad already answered this properly anyways. #5 kamper, Nov 18, 2006 rookie1010 Senior member Joined: Mar 7, 2004 Messages: 984 Likes