Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Aug 2005
    Messaggi
    12

    Debugger

    Salve a tutti, ho un problema nell'esecuzione del debugger con Jcreator, praticamente mi dā un msg d'errore:

    javac: invalid flag: sun.applet.AppletViewer
    Usage: javac <options> <source files>
    where possible options include:
    -g Generate all debugging info
    -g:none Generate no debugging info
    -g:{lines,vars,source} Generate only some debugging info
    -nowarn Generate no warnings
    -verbose Output messages about what the compiler is doing
    -deprecation Output source locations where deprecated APIs are used
    -classpath <path> Specify where to find user class files
    -cp <path> Specify where to find user class files
    -sourcepath <path> Specify where to find input source files
    -bootclasspath <path> Override location of bootstrap class files
    -extdirs <dirs> Override location of installed extensions
    -endorseddirs <dirs> Override location of endorsed standards path
    -d <directory> Specify where to place generated class files
    -encoding <encoding> Specify character encoding used by source files
    -source <release> Provide source compatibility with specified release
    -target <release> Generate class files for specific VM version
    -version Version information
    -help Print a synopsis of standard options
    -X Print a synopsis of nonstandard options
    -J<flag> Pass <flag> directly to the runtime system


    Process completed.

    La causa dovrebbe essere sun.applet.AppletViewer ma non so come metterci mano.
    Potete Aiutarmi?
    Vi ringrazio.
    Michele

  2. #2
    Utente di HTML.it
    Registrato dal
    Aug 2005
    Messaggi
    12
    Ora ho provato il debugger di jbuilder....... sempre errore........

    -- IOException starting Java debug process --

    java.io.IOException: CreateProcess: C:\Programmi\Java\jdk1.5.0_06\bin\bin\javaw -classpath "C:\javab\classes" "-Djava.security.policy=C:/Documents and Settings/Michele/.jbuilder2005/appletviewer.policy" -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=michelenotebo ok:2802,suspend=y sun.applet.AppletViewer "File:///C:\javab\Labirinto.html" error=3

    Qualcuno sā tradurre?

  3. #3
    Utente di HTML.it
    Registrato dal
    Aug 2005
    Messaggi
    12
    Ora sono passato a questo errore:

    -- Cannot start Java debug process VM --

    com.sun.jdi.connect.VMStartException: VM initialization failed for: C:\Borland\JBuilder2005\jdk1.4\bin\javaw -classpath "C:\Documents and Settings\Michele\Documenti\EsameJava\JBLabirinto\c lasses;C:\Borland\JBuilder2005\jdk1.4\jre\javaws\j avaws.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib\c harsets.jar;C:\Borland\JBuilder2005\jdk1.4\jre\lib \ext\dnsns.jar;C:\Borland\JBuilder2005\jdk1.4\jre\ lib\ext\ldapsec.jar;C:\Borland\JBuilder2005\jdk1.4 \jre\lib\ext\localedata.jar;C:\Borland\JBuilder200 5\jdk1.4\jre\lib\ext\sunjce_provider.jar;C:\Borlan d\JBuilder2005\jdk1.4\jre\lib\im\indicim.jar;C:\Bo rland\JBuilder2005\jdk1.4\jre\lib\im\thaiim.jar;C: \Borland\JBuilder2005\jdk1.4\jre\lib\jce.jar;C:\Bo rland\JBuilder2005\jdk1.4\jre\lib\jsse.jar;C:\Borl and\JBuilder2005\jdk1.4\jre\lib\plugin.jar;C:\Borl and\JBuilder2005\jdk1.4\jre\lib\rt.jar;C:\Borland\ JBuilder2005\jdk1.4\jre\lib\sunrsasign.jar;C:\Borl and\JBuilder2005\jdk1.4\lib\dt.jar;C:\Borland\JBui lder2005\jdk1.4\lib\htmlconverter.jar;C:\Borland\J Builder2005\jdk1.4\lib\tools.jar" -Djava.security.policy="C:/Documents and Settings/Michele/.jbuilder2005/appletviewer.policy" -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,address=michelenotebo ok:2996,suspend=y sun.applet.AppletViewer File:///"C:/Lab.html"
    err:: No such file or directory
    Error [2] in connect() call!
    Socket transport failed to init.
    Transport dt_socket failed to initialize, rc = -1.


Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.