How do i open a source code in zip file

Hello! i"m having problems running my codes, i'm using windows and i'm having problems running the codes. At first i thought it was my codes, so i tried a friends code in a zip file and it still gives the same error: exception of in thread "main" java.lang.NoclassDef found error: Rewriter.
Rewriter is the name of the Zip file after opening it, i saved it on my system. Can anyone be kind enough to teach me how to run a java code. i have jdk already installed on my system. Java is my dream and the book i'm reading is useless if i can't run the system in the book.

I don't see where the zip file comes into it. If you are not familiar with compiling and running java codes, go through
{color:0000ff}http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html{color}
Click the link for your OS, and if you still have problems there's a link for "Common Problems (and Their Solutions)"
Come back if you have a specific question about what you read there.
db

Similar Messages

  • How can I make my source code with jar file?

    I use JDK1.6.0. I can open a class file from rt.jar and get its source code. Does this because open source JDK? I wander how I can make my jar file with source code.

    CeciNEstPasUnProgrammeur wrote:
    youhaodiyi wrote:
    But why I can read source code from rt.jar? I found there are only class files in it.I say it's highly likely that you can't and your IDE's settings rather automatically refer to the src.zip file in the JDK's directory.I see. That's true. I use eclipse as the source code reader. It may refer to the source code zip file automatically.
    Thanks all.

  • How can I view the source code of chrome://browser/content/browser.xul?

    How can I view the source code of chrome://browser/content/browser.xul of mobile FireFox?
    In my desktop version I just open this page in new tab and view webpage source, but there is no option for FF mobile to view source code.
    Best regards.

    Does the view-source: protocol work on mobile?
    *view-source:chrome://browser/content/browser.xul

  • How can i get the source code from java concurrent program in R12

    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    Zulqarnain

    user570667 wrote:
    Hi 2 all,
    How can i get the source code from java concurrent program in R12? like , "AP Turnover Report" is java concurrent program, i need to get its source code to know its logic. how can i get its source code not the XML template?
    Regards,
    ZulqarnainDid you see old threads for similar topic/discussion? -- https://forums.oracle.com/forums/search.jspa?threadID=&q=Java+AND+Concurrent+AND+Source+AND+Code&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Thanks,
    Hussein

  • How to get the source code in PAR file

    Hi All,
    I used the PAR migration tool to migrate from PAR to EAR file. When I imported the EAR into NWDS 7.3, I was just able to see the structure and jsp files and could not find the java source code files. I would requires the java source code to make modifications so that deprecated APIs can be replaced and to also make the code compatible with JDK 1.6.
    I think the original 7.0 PAR file itself does not contain the source code. I decided to use the "Include source code" option when exporting the 7.0 PAR.
    I have the portal application DC project in my NWDS 7.0. However, when I try to export the PAR file using Export --> PAR File -- > Next... I am unable to select any project from the list. The list appears blank with disabled Next & Finish buttons.
    I also noticed that in the portal DC application structure, there is a .sda file under /gen/default/deploy. Also there is no PAR folder under /gen/default/public.
    How do I include the source in the PAR file so that I can edit the same after migrating to EAR format ?
    Regards,
    Melwyn

    DC and PAR/EAR stuff are different formats, SC/DC is an archive type used by NWDI, if I got it right.
    How do I go about generating the PAR file (with source) ?
    In fact through including the seources while creating the PAR/EAR in NWDS, but: no need to do that, you can also depack SDA (rename it to zip). If you wanna just see the Java sources you will find them there, otherwise decompile as Vijay already sad.
    cheers

  • The jsp file does not open the new login window but opens the source code.....plz help

    When i try to log in to the log in link at the site https://efp.bpcl.in the log in page does not open but the firefox wants to ask with which program the firefox should open the file and when we give firefox or internet explorer than it opens the source code.Plz help...

    Those files are send as application/octet-stream and that makes Firefox display a download dialog.
    http://developer.mozilla.org/en/docs/Properly_Configuring_Server_MIME_Types

  • How can I get the source code of the google chrome ios app

    How can I get the source code of the google chrome ios app

    Google is your friend
    http://www.chromium.org/
    and
    https://developers.google.com/chrome/mobile/docs/iosoverview

  • How to protect ADF Application Source code

    Hi,
    There is an ADF Application which needs to be given to a client. The client will deploy the application.
    How do i protect the source code giving to the someone from the ADF application. ?

    An ear file don't need to contain java source files, but is can.
    Sure you can create an ear without the source files. You define what goes into the ear yourself (source files are normally not included). The deployment descriptor you used to create the ear defines what file (contributors) are in the ear. Check the applications deployment descriptor and change it in a way that the sources are not included.
    Timo

  • How can we know the source code no.of lines

    hi guys!
    please help me, how can we check the source code(No. of lines)in program with out comments

    hi,
    Use this code. Replace with your program name with the text in bold. V_lines gives the no of lines of code excluding comments and as well blank lines.
    TYPES: BEGIN OF t_type,
             line(72),
           END OF t_type.
    DATA: program LIKE sy-repid
                     VALUE <b>'Z_ABC_INNER_JOIN'</b>,
          t TYPE STANDARD TABLE OF t_type WITH HEADER LINE.
    DATA: v_lines TYPE i.
    READ REPORT program INTO t.
    IF sy-subrc =0.
      LOOP AT t.
        IF t+0(1) = '*' OR t IS INITIAL.
          DELETE t INDEX sy-tabix.
        ENDIF.
      ENDLOOP.
      DESCRIBE TABLE t LINES v_lines.
    ENDIF.
    WRITE : v_lines.
    Regards,
    Sailaja.

  • Very Easy Question: How to view source code of JAR file

    Hi Experts,
    1) Can we can see the content of JAR file?
    2) How we can we see content of JAR file?
    3) I have with me JAR file. It is sap.compcui_gpoadp~ObjectAndDataProvider.JAR. I have to make some changes in the JAR file source code. How I can find the source code?
    I tried to see the source code using NWDS. However, I can not see the code.
    Regards,
    Gaurav

    >
    Gary wrote:
    > Can I make changes in the source code of JAR file? Can I make changes in the code?
    You cannot do this by simple repacking/rearchiving of JAR, because it contains special descriptor with fingerprint. In general, JAR is unmodifiable, however, you can create a new one with modified sources.
    You can try to import the JAR in some Java project in Eclipse, for example. Then make your changes and use the Eclipse's Export JAR wizard in order to repack the modified source Java files in a new JAR.
    >
    Gary wrote:
    > Can I rename the JAR file and still it will usable? Please confirm.
    I general, yes, the operation is allowed. However, you cannot do this with JAR deployed on some J2EE server or Portal, for example. Because there are references to it.
    >
    Gary wrote:
    > Please let me know if by any chance I can see the content of JAR file in NWDS.
    Yes, sure. Use Import from Archive wizard in Eclipse. Or add the JAR in the class path of some Java project and Eclipse will show you the content of it.
    BR, Sergei

  • How do I access iWeb source code?

    I am building a site on iWeb and want to add drop down menus. I can make them in Dreamweaver, but I don't know how to access the full source code of iWeb to be able to add the Spry Menu Bar I have created in Dreamweaver CS3
    Can anyone tell me how to access the source code of iWeb?
    Can I build a page in iWeb in code?

    If so, is it true that it has to be added again each time you publish?
    If you are talking about modifying the code in the .html files created when you publish from iWeb, yes, your modifications will be overwritten if you republish, so they need to be added again.

  • Opening LabVIEW source code

    Hi,
    This year LabVIEW celebrates its 20th birthday. A development environment that started from a virtual instrument development tool has grown into an outstanding general purpose visual programming language. Troughout LabVIEW history it has beeen debated if LabVIEW is a general purpose programming language or not. It defenitely is a general purpose programming language but maybe not as general as it could be. Every LabVIEW power user knows that even though LabVIEW has very many outstanding features, it also have very many shortcomings not present in the main stream programming languages and development environments.
    Requirements for LabVIEW functionality keep raising as the number of LabVIEW users constantly grows. During the history of programming we have seen that it indeed is quite challenging to develop an excellent programming language. All the most popular languages are developed as a joint effort of the computer science community. This ensures that the design decissions made are in agreement with the state-of-the-art techniques of the present time and that all the possible shortcomings are considered when these design decissions are made.
    LabVIEW as a proprietary programming language doesn't have the power of the computer science community. It may be extremely hard to recruit the best minds of the community to work exclusively for National Instruments already for purely geographical reasons. As a result NI presumably cannot keep up with the pace required to keep LabVIEW a high quality general purpose programming language. Until now NI has had central pantets protecting graphical design of LabVIEW. The most central ones of these patents have expired or are soon to expire leaving the field of graphical programming languages open for competition.
    From this perspective it would be very wise move from National Instruments to open the source code for LabVIEW programming language and releasing the patents protecting the language for the use of the community helping to develop LabVIEW. National Instruments should see this more as an opportunity than a threat.
    Opening the source for LabVIEW would gather new free-of-cost developers for developing LabVIEW. LabVIEW would improve and gain more reputation as a general purpose programming language. Students and computer scientists arount the world would get acquainted with LabVIEW as the barrier of expensive licenses wouldn't be there. LabVIEW has many features that are expected to be in a future general purpose programming language as natural support for multithreading. However it lacks many features that are required from a future general purpose programming language. As an open source language, LabVIEW could develop towards a generally accepted programming language of the next decade.
    As the LabVIEW user community grows, also NI could take advantage of its expertise in LabVIEW integration. The growth of LabVIEW user community means that the number of pontential customers for National Instruments measurement and automation products grows and NI can take full business benfit from it. NI can still sell proprietary Measurement and Automation software and hardware for integrating the NI hardware with LabVIEW, managing measurement data and managing other measurement and automation related tasks. Only LabVIEW as a general purpose programming language would no longer be a source of income. Still NI could go on selling development environment for LabVIEW.
    Open LabVIEW would also open new opportunities to NI. It could benefit from its expertise of software and hardware integration in the field of embedded computing. The embedded computing is growing fast as every device around us gains a microprocessor. If LabVIEW would be used as a general and most popular programming language for embedded computing, it would allow NI to sell number of new products and solutions to this embedded computing industry.
    Open soruce LabVIEW is an opportunity for the LabVIEW community, for the computer science community in general and last but not least for National Instruments. LabVIEW community get improved general purpose programming language with all the state of the art techniques and functionality. Computer science community gets the opportunity to start developing programming techniques and paradigms for visual programming and this way solving the shortcomings of text-based programming languages bringing the programming for everyone. National Instruments would gain major advantages from LabVIEW becoming generally accepted programming language. The increasing user base would get NI a number of new potential customers and opportunity to start selling new kinds of products and solutions. On the other hand, if NI will not open LabVIEW source and tries to keep its monopoly, I predict that it may be hard to keep up with the recent developments in programming language technology. General purpose programming languages will evetually offer all the benefits of LabVIEW and much more. NI will lose it's position not only in LabVIEW but also as a provider of measurement and automation hardware.
    I'd like to hear what you, the community, think of this issue.
    Regards,
    Tomi
    Tomi Maila

    I must say that I disagree with this idea.  One of the very fundamental -- and important -- aspects of LabVIEW is its internal consistency as well as its wide applicability.  Having been an "old lline" Unix hack, I know the message and promise around open source; however, I also know the incredible shortcomings that have come out of many of those initiatives.  We run our deployed product in Windows, as a develped LV app precisely so that I have a consisten, intuitive programming environment.  All of my development headaches throughout the life cycle of this product have come not from LV code but from the limitations of text-based code developed outside of the LV environment -- entities that have to be included via DLL calls and such.  That all works well enough but, when there are profound changes to those outside development environments, it greatly hampers the ability to maintain and expand the legacy code.  I have spent many days and weeks having to rewrite VB and VC++ code so as to make for easier integration and upgrading capability.  In particular the shift -- on Microsoft's part -- from WMP6x to later incarnations, forced a complete rewrite of some important multimedia components.  Similarly, changes to the <vector> class with the move to Visual Studio Net forced similar problems.
    Open source still holds great promise but also great peril.  Too many cooks really can spoil the broth at times.

  • HOW CAN I OPEN IMAGES/BAR CODES?

    HOW CAN I OPEN IMAGES/BAR CODES?

    You need an app to read barcodes in Safari. One or more is available in the App Store.

  • How do I open my H&R Block tax files, transferred to my Mac Pro from my PC? I guess they're in Windows format,but I don't know how to convert.

    How do I open my H&R Block tax files, transferred to my Mac Pro from my PC? I guess they're in Windows format,but I don't know how to convert.
    CaptainTom1

    There should be an H&R block format.  Windows or no.
    Just like JPEG or MP3 is a format readable by Mac or PC.
    The main cause of PC vsWindows files issues is in "text only" files that require "line terminators".  Windows line terminaotrs are <CR><LF>, UNIX is <LF>, Mac can be <CR> or a <LF>.  The text editors that are PC-files-only cannot properly read text lines terminated with <LF> only.

  • How can I open MWS (Maple) and WXM (wxMaxima) files directly by click on their links, without necessity to save them on my computer? Thanks in advance.

    How can I open MWS (Maple) and WXM (wxMaxima) files directly by click on their links, without necessity to save them on my computer? The links are present at a htm file.
    In the Internet Explorer it works. Mozilla isn't even able to recognize these applications to enable me to select a regime of their handling.

    hello TurZ, please set media.windows-media-foundation.enabled back to its default value and turn '''media.play-stand-alone''' to '''false '''instead.

Maybe you are looking for