Compiling with the -g option????

Hi there,
yeah, I would like to know if it is possible to tell if a class file has been compiled with the -g option. I would like to do this since I am writing a debugger that requires java files that have been compiled with this option - in order to access debugging information; and without it I cannot do anything.
Thanks for your time in advance.
- Edd.

Have you read this?
http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html

Similar Messages

  • Running syslog with the -t option in Solaris 10

    I'm trying to get syslog to run with the -t option in solaris 10
    I've ran the following commands
    svccfg -s svc:/system/system-log setprop config/log_from_remote = false
    svcadm refresh svc:/system/system-log
    But ps -ef still shows
    root 9479 1 1 15:56:58 ? 0:00 /usr/sbin/syslogd
    Any ideas, i'm hoping that although -t doesn't appear the fact svcprop shows it as false should mean it's working, can anyone confirm?
    svcprop svc:/system/system-log:default |grep log
    config/log_from_remote boolean false
    Thanks
    Darren

    Excellent stuff, i'm still a bit confussed, can you just confirm something for me.
    In the syslogd man page it says this
    svc:/system/system-log/config/log_from_remote
    This property specifies whether remote messages are logged.
    log_from_remote=true is equivalent to the -t command-line
    option and false is equivalent to the -T command-line
    option. The default value for -log_from_remote is true. See
    NOTES, below.
    but -t in the man page says this
    -t Disable the syslogd UDP port to turn
    off logging of remote messages. See
    FILES.
    So the man page says it needs to be true, you're saying it should be false can you just confirm the man page is wrong.
    I'm seeing this with netstat
    skippy> netstat -nafinet|grep 514
    *.514 *.* 0 0 49152 0 LISTEN
    config/log_from_remote boolean true
    Thanks
    Daz

  • Simplify recovery after opening the database with the RESETLOGS option

    Hi All,
    I just have doubt ,regarding the topic which is given in Oracle 11g Exam Syllabus for upgrading from 9i to 11g OCP.The opic is
    *"Simplify recovery after opening the database with the RESETLOGS option"* in this topic what one need to study.
    As i am little bit confuse related to "Recovery through RESETLOGS and reset of the incarnation of the database".
    Kindly correct me if i am wrong
    Thanks in advance

    vk82 wrote:
    Hi All,
    I just have doubt ,regarding the topic which is given in Oracle 11g Exam Syllabus for upgrading from 9i to 11g OCP.The opic is
    *"Simplify recovery after opening the database with the RESETLOGS option"* in this topic what one need to study.
    As i am little bit confuse related to "Recovery through RESETLOGS and reset of the incarnation of the database".
    Kindly correct me if i am wrong
    Thanks in advanceyou are correct so you can mark this thread as answered
    Handle:     vk82
    Status Level:     Newbie (35)
    Registered:     Nov 21, 2010
    Total Posts:     733
    Total Questions:     180 (115 unresolved)

  • Problem with the Photomail option within " How would you like to share ?"

    I have a PC with Windows 7 and Elements 10 installed. For the past couple of days, when I attempt to share photos using the Photomail option under "How would you like to share ?" column , after selecting the recipient, I get an error message dialogue box that says : "Elements 10 Organizer has stopped working - a problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available". Then the Organizer stays closed down until I reopen it. However, I am able to share photos using the "Email Attachment" option.
    What could be wrong with the "Photomail" option ?
    Thanks

    Hi,
    I have seen this sort of failure caused by a permissions problem.
    Try this:
    Close elements
    Create a shortcut on your desktop which goes direct to the organizer
    Right click on that shortcut and select "Run as Administrator" (even if you are an administrator)
    Now try your Photomail again
    If it does work, you only need to do this once, it seems to correct itself after that.
    Good luck
    Brian

  • Oracle Business Intelligence Discoverer with the OLAP Option 11g

    Is it also possible to use Oracle Business Intelligence Discoverer with the OLAP Option 11g ?
    I read this article but the OLAP Option is 10g.
    Thanks.

    Hi,
    Yes, I think so, see this article.
    Rod Wets

  • A20m, powers up, screen say's IBM Thinkpad with the 2 options of F1 or F12, then does nothing!

    My son attempted to help, format & reload my old laptop before giving to Grandma to replace her dead laptop.
    This laptop had sat for a year, waiting to be g-mom's next back up, sure enough. It was time to call this A20m back to service again.
    Upon turning on everything she powered up perfect, I removed a couple of programs.  Then figured I would just reload to new, reformat & reload. Until my son attempted to help me get it done before my 73 year old mom lost her mind from Pogo with drawl, lol.  
    Now all my dependable A20 does is turn on & screen shows IBM thinkpad, with the F options just like normal.  If you push F12 it will changes screens & state "preparing boot device list" & F1 changes to " entering IBM BIOS setup utility & that is it, sounds as if it is working.   The only way to clear the process is turn it off. 
    I have never had any issue with this system every.
    I could use some help here Please.  My mom is confined to her home due to medical, this is her only means of entertainment.
    I need this up & going soon or I will be forced to give up my T60 to her.  
    Any and all help would be very helpful.

    2-finger scrolling (and 2-finger tap right-click) work perfectly for me. In System Preferences > Keyboard and Mouse > Trackpad, be sure to check Use 2 fingers to scroll. I also have Allow horizontal scrolling, Clicking, Tap trackpad using 2 fingers for secondary click, and Ignore accidental trackpad input checked. My scrolling speed is just a little toward the fast side, as is tracking speed. Double click speed is at the fast limit.
    Try those settings and see if things improve for you. Good luck! It really should work without problems like the ones you describe.

  • Cannot build a flow graph with the customized options

    Dear JMF-Gurus,
    we implemented a DataSource for video capturing that is based on the lti-civil API, so that video capturing on Mac OS X should be possible.
    When we try to build the flow graph, we get an jmf-error as described in the following log:
    # JMF Version 2.1.1e
    ## Platform: Mac OS X, ppc, 10.4.9
    ## Java VM: Apple Computer, Inc., 1.5.0_06
    ## DataSource created: net.sf.fmj.media.protocol.civil.DataSource@a76306
    $$ Profile: instantiation: 30 ms
    ## Processor created: com.sun.media.processor.unknown.Handler@21ec03
    ## using DataSource: net.sf.fmj.media.protocol.civil.DataSource@a76306
    $$ Profile: parsing: 377 ms
    ## Getting the supported output formats for:
    ## RGB, 176x144, FrameRate=10.0, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=528
    ## # of nodes visited: 50
    ## # of formats supported: 38
    $$ Profile: getSupportedOutputFormats: 340 ms
    ## Building flow graph for: civil:?
    ## Building Track: 0
    ## Input: RGB, 176x144, FrameRate=10.0, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=528
    ## Custom options specified.
    ## An output format is specified: YUV Video Format: Size = null MaxDataLength = -1 DataType = class [B yuvType = 2 StrideY = -1 StrideUV = -1 OffsetY = -1 OffsetU = -1 OffsetV = -1
    ## An output content type is specified: RAW
    ## Here's the completed flow graph:
          com.sun.media.parser.RawBufferParser@a075e6
             connects to: com.sun.media.codec.video.colorspace.JavaRGBToYUV@9c61d3
             format: RGB, 176x144, FrameRate=10.0, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=528
          com.sun.media.codec.video.colorspace.JavaRGBToYUV@9c61d3
             connects to: com.sun.media.multiplexer.RawBufferMux@da7565
             format: YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 38016 DataType = class [B yuvType = 2 StrideY = 176 StrideUV = 88 OffsetY = 0 OffsetU = 25344 OffsetV = 31680
    $$ Profile: graph building: 113 ms
    $$ Profile: realize, post graph building: 9 ms
    $$ Profile: instantiation: 0 ms
    ## Processor created: com.sun.media.processor.unknown.Handler@654dec
    ##   using DataSource: VIC.MonitorCDS@e0c0b6
    $$ Profile: parsing: 1 ms
    ## Getting the supported output formats for:
    ##   YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 38016 DataType = class [B yuvType = 2 StrideY = 176 StrideUV = 88 OffsetY = 0 OffsetU = 25344 OffsetV = 31680
    ##   # of nodes visited: 48
    ##   # of formats supported: 37
    $$ Profile: getSupportedOutputFormats: 97 ms
    ## Building flow graph for: null
    ## Building Track: 0
    ## Input: YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 38016 DataType = class [B yuvType = 2 StrideY = 176 StrideUV = 88 OffsetY = 0 OffsetU = 25344 OffsetV = 31680
    ## Custom options specified.
    ## An output format is specified: H263P/RTP, 176x144, FrameRate=10.0
    ## An output content type is specified: RAW/RTP
    XX Failed to realize: com.sun.media.ProcessEngine@8393ef
    XX   Cannot build a flow graph with the customized options:
    XX     Unable to transcode format: YUV Video Format: Size = java.awt.Dimension[width=176,height=144] MaxDataLength = 38016 DataType = class [B yuvType = 2 StrideY = 176 StrideUV = 88 OffsetY = 0 OffsetU = 25344 OffsetV = 31680
    XX       to: H263P/RTP, 176x144, FrameRate=10.0
    XX       outputting to: RAW/RTP
    XX Error: Unable to realize com.sun.media.ProcessEngine@8393ef
    ## com.sun.media.BasicFilterModule@31477b: input format changed: RGB, 640x480, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=1920
    We guess that the problem was first the wrong input format (wrong video-size or wrong framerate) but this has been changed to the correct format.
    The flow graph looks like correct, but it doesn't work anyway. 
    What does the last line in the log means, and are there any information were the problem good be located?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    How were you even able to accomplish that? In my classpath I have fmj-nojmf.jar, jmf.jar and lti-civil.jar but I keep on getting this in my log.
    # JMF Version 2.1.1e
    ## Platform: Mac OS X, i386, 10.5.4
    ## Java VM: Apple Inc., 1.5.0_13
    ## DataSource created: com.sun.media.protocol.javasound.DataSource@f98d58
    I can't get it to find the civil datasource in fmj-nojmf.jar.

  • I forgot the password for the apple store, I try to restore it with the first option (email) but i have check my account and the email doesn`t arrive

    I forgot the password for the apple store, I try to restore it with the first option (email) but i have check my account and the email doesn`t arrive
    What can I do???

    Apple ID security issues -
    Call Apple Care and ask for the Account Security Team. They can assist you with your issue.

  • Enable detailed telemetry selected in Flash CC but Scout still says to compile with the -advanced-telemetry option

    Firstly, hitting control-enter to test a game in Flash CC (latest version) does not activate anything at all in scout. If I compile the swf and double click the swf from windows explorer, the data will show up, but I can't see any advanced telemetry - Even if I compile the swf with 'enable detailed telemetry' selected.
    I can never see advanced telemetry no matter what I have tried. When testing a movie from within flash CC, scout never recognizes that a swf is even loaded, however I can get basic telemetry from with a web browser, or when running the application as standalone from explorer.

    Once you go to publish settings and enable "Enable Detailed Telemetry" option and then go to the AIR for IOS Settings dialog, you should see the "Telemetry Options" section as shown below. Are you not seeing this? what is the type of document that you are creating?

  • HOW DO I DEAL WITH THE TIFF OPTIONS SCREEN?

    I am a beginner with PSE 10 learning how to save an edited TIFF scan.  I check the box for saving in Version Set and clik OK. The TIFF Options window comes up.  How do I learn what this is for and how to handle the choices it presents?  I have exhausted what is available in HELP.  Suggestions Please!
    MBArmstrong

    It’s really a question of choosing compression otherwise an uncompressed tiff file is very large and will slow down your computer. I normally use LZW. It’s lossless compression and has been around longer than ZIP and can be handled by most third parties e.g. if you need to send your files to a print lab.
    I never recommend saving tiff files with layers as they become huge. Always use the Photoshop format (PSD) for saving layered files which are much more efficient.

  • In Report output, Missing Plan data with the Seletion option - Single Value input (more than 10 values)

    Hi ,
    I am running the Query (Actual Vs Plan) in the BEx Analyzer, with the input for the characteristic like Fiscal Year, Posting Period and Cost Center(20 Single value) it not comming up with the plan data - Actual data is coming up fine.
    If i gave 10 or less than 10 inputs ( single values input in the selection - option ) for the characteristic COST CENTER it coming up with all the data (Both plan and Actual).  if the COST CENTER input values more than 10, it not coming up plan data (Actual data is coming)
    Cost Center Variable is designed with an Authorization Variable.
    Can any one please help me to know why plan data is getting miss when the input limit more than 10 (single values input in the selection - option) in the Cost Center Variable? 
    An also could you please share that, What is the Max limit for the Single values and Range Value for an Selection - option in the BEx Variable.

    A)    Hi ,
                 In Report, I am having 2 variant.
    1.   For one variant, i have saved the input values for both the Select Single values & Select range for the cost center.
    8 Values in single & 4 Values in Ranges         
    It coming up with data successfully.
    2.    Another variant having input only for select single values for the COST CENTER, it contains 20 records (This variant also have restricted with the same values as above variant for COSTCENTER variable)
    Fiscal year                         : 2012
    Posting period                   : 8
    Cost Center                        : 20 values in Single                                             (Here I have separated the range values into single)
    It’s not coming up with plan data. 
    B)   If I gave only first 10 values in the Single value, Output for both actual and Plan are coming up…………. If I gave the Second 10 value in the Single value and got the Output for both actual and Plan.
    C)    I have also checked the following details of this query, 
    Executed the query in RSECADMIN and checked the Authorization log as below,
    Relevant Characteristics for Detailed Authorization Check  (Characteristics with Full Authorization Are Not Listed!)
      List of Effective Authorization-Relevant Characteristics for InfoProvider ZPCA_M36: 
    List Is Empty:
      There Are No Characteristics That Have to Be Checked in Detail 
              2.  Checked the Single value input by iteration, 1 to 10, it retrieves data.  More than 10 like 11, 12 … is getting failed to pull plan data.
              3. checked the selection Value range by iteration and I gave the range value count up to 25        inputs, its works fine.
    Thanks.
    Regards,
    Subashini.

  • Creating a primary key with the parallel option and the tablespace option

    I know I can create a unique index with these options and then make the primary key with the "using index" clause. anyway to do this and skip the create unique index and just create the primary key ?

    SQL> ALTER TABLE t
      2  ADD CONSTRAINT pk_t
      3  PRIMARY KEY (testcol)
      4  USING INDEX
      5  TABLESPACE example
      6  PARALLEL (DEGREE 2);
    PARALLEL (DEGREE 2)
    ERROR at line 6:
    ORA-03001: unimplemented featureYou can name the tablespace but you must do an alter index thereafter.

  • Park N Go - problem with the Offline option

    I am working with the BPC 5.1 and sometimes when I use the Offline option my report/Input Schedule is transformed in #RFR and #NODATA. This problem becomes a bigger problem when I use the Offline Distribution List to publish the reports to send to clients. I use the Office 2003, and making the copy/paste special is not a valid option because of the use of the Offline Distribution Option.
    Does anybody have an idea about solving this issue?
    Thank you,
    Susana

    David,
    Thank you for your time. I have found my bug.
    I have made several copies of my reports and made a few changes to them. I have checked everything I have remembered, but apparently I forgot to check the Application name parameter in the EvGTS formula and it was pointing to an empty cell causing the #RFR error.
    Susana

  • HT2534 It doesnt come up with the 'none' option on Iphone4s

    I can't choose a 'none' option on the iphone4s... and its declining my card for some reason:/

    I know of no way with a 4G.
    You said "Also, when I go to AirPlay and connect to my Mac, it doesn't come up with the On and Off slider." I do not understand what you mean. The USB cable does not have anyting to do with airplay and you can't AirPlay to to computer unless you are using a programs like Reflector but if yo have an iPod you need a 5G iPod

  • [SOLVED]How to install packages with the -U option? PGP error.

    I have to downgrade some packages (linux package due to ath5k problem), but pacman won't allow me because of the signatures.
    I downloaded the packages i need from here http://schlunix.org/archlinux/.
    These packages are safe to install? How can i bypass the signature check, if these packages are safe to install?
    Thanks.
    Last edited by Hyugga (2012-04-19 19:46:23)

    If you have a pgp key, you can sign the packages with your own key. You can do this by editing /etc/makepkg.conf, adding your key to the  GPGKEY="" section and enabling the sign option in the BUILDENV section. When building the package, it'll then be signed with your personal key. Afterwards import your key in pacman (pacman-key -r <yourkey>), assign the proper trust level and you're good to go.
    A workaround is to temporarily set "SigLevel = Never" in your /etc/pacman.conf (and hence disabling keysigning).
    EDIT: I just bothered to actually check your link and you'll be installing prebuilt binaries, so my first explanation doesn't apply there (you won't be building anything). So just setting SigLevel to Optional or Never (temporarily) should do.
    Last edited by Gcool (2012-04-19 19:23:05)

Maybe you are looking for