Cannot compile Java files or create Java Project

Hi,
I cannot compile java files and also didn't see any option
for creating java project using flex 2 builder.
Actually am trying to create a FDS project with an option to
compile on the server. I am using Weblogic 8.1 SP5 as my server.
thank you
sun

hi
this is may jvm.config file. Can anyone tell me if it is
right because all the fields are blank.
# VM configuration
# Where to find JVM, if {java.home}/jre exists then that JVM
is used
# if not then it must be the path to the JRE itself
# If no java.home is specified a VM is located by looking in
these places in this
# order:
# 1) JAVA_HOME environment variables (same rules as java.home
above)
# 2) bin directory for java.dll (windows) or
lib/<ARCH>/libjava.so (unix)
# 3) ../jre
# 4) registry (windows only)
java.home=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\jre
# Arguments to VM
java.args=-ea -Xmx384m
# Environment variables we care about, whitespace-separated
env=
# java.class.path - use this for adding individual jars or
# directories. When directories are included they will be
searched
# for jars and zips and they will be added to the classpath
(in
# addition to the directory itself), the jar to be used in
launching
# will be appended to this classpath
java.class.path=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK
2.0\jre
# where to find shared libraries, again use commas to
separate entries
java.library.path=
thanks
sun

Similar Messages

  • How to open java files in a java project

    hi ,
    i have to implement a java program analyzer and now i have implement a java parser using javaCC. My parser parse a java file at a time and i have to read and parse all java files in a java project. my idea is to enter
    java project name *.jpx as an input and search java files in project and parse them one by one, or , to enter the folder path of java source files of project and parse them.
    i am a beginer of java language and i don't know where to start to do it.
    is there someone tell me which way is easier and better for my case and some ways to implement it. i search sample files that is similar to my case but i cannot find any.
    thanks in advance.
    ami

    if u don't mind , can u tell me which tutorial i
    should read for that? http://java.sun.com/docs/books/tutorial/essential/io/
    This... for example.
    xH4x0r

  • How to compile and run a .java file from another java program

    hello,
    can any one tell me how to compile and run a *.java* file from another java program which is not in same directory?

    Well a smarter way of implementing this is by using a solution provided by Java Itself.
    If you are using J2SE 6.0+ there is an in built solution provided along with JDK itself and inorder to go ahead with solution the below are set of API which you;d be using it for compiling Java Programs (Files)
    http://java.sun.com/javase/6/docs/api/javax/tools/package-summary.html
    How do i do that ??
    Check out the below articles which would help you of how to do that
    http://www.ibm.com/developerworks/java/library/j-jcomp/index.html
    http://www.javabeat.net/javabeat/java6/articles/java_6_0_compiler_api_1.php
    http://books.google.com/books?id=WVbpv8SQpkEC&pg=PA155&lpg=PA155&dq=%22javax+tools%22+compiling+java+file&source=web&ots=XOt0siYe-f&sig=HH27ovuwvJgklIf8omTykUmy-eM
    Now once we are done with compilation.In order to run a Specific class all you ought to do is create an object and its specific methods of a specified class included in the CLASSPATH which you can manage it easily by usage little bit reflections.
    Hope that might help :)
    REGARDS,
    RaHuL

  • Question about the java files which created by Web Dynpro

    After I create a new project under Web Dynpro, there is no any java file is generated.
    Now I create a new application in the project with the following names:
    application name: QuizApp
    package name: com.sap.tc.webdynpro.tutorials.quiz
    component name: QuizComp
    window name: Quiz
    view name: WelcomeView.
    Now, 5 java files are generated under the package:
    QuizComp.java,
    WelcomeView.java,
    QuizCompInterface.java,
    QuizInterfaceView.java
    QuizCompInterfaceCfg.java
    Can someone tell me what do these file mean? For what purpose?

    1)QuizComp.java -
      this is the source file for whatever you code inside the Component Controller ,
    2)WelcomeView.java -
    you get one java file for each view you create,
    3)QuizCompInterface.java -
    represents the public "face" of your component. If this webdynpro DC is used by another DC, the other DC can only "see" the methods present in this java class
    4)QuizInterfaceView.java    -
    this is to represent your view assembly (window and any views as part of it) when you want to embed UI of this DC in another DC
    5)QuizCompInterfaceCfg.java -
    (advanced concept)
    P.S: A java file is created for each Custom controller you create also. And many other classes get created too (which probably you dont need to bother about) but they require for WebDynpro concept to function properly i.e a framework
    Hope that clears things.
    Regards,
    Rajit

  • How to compile a java file in a java program

    Hi,
    I don't know to compile a java file in a java class.
    Could somebody help me?
    Thanks.

    if ur using windows...
    goto ur directory and then type
    javac FILENAME.java
    and ur done!

  • Trying to compile a .java file from another .java file

    Hello,
    I'm trying to compile a .java file from another .java file using Runtime.exec...
    String c[]=new String[3];
    c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
    Process p=Runtime.exec(c);
    If anyone can help me in atleast getting the command prompt when Runtime.exec("cmd.exe") is executed...that would be great...I tried out notepad.exe, calc, explorer instead of cmd.exe...all the commands display their respective windows..except cmd.exe...the command prompt doesnt appear...
    Please help me ASAP....
    Thanks for your help in advance...
    Regards.
    AKhila.

    try this. ur code will be compliled and will get .class file. but console won't appear. is it a must for u?
    public class Exec{
         public static void main(String a[]) throws Exception{
              String c[]=new String[3];
              c[0]="cmd.exe"; c[1]="/c" ; c[2]="javac Hello.java";
              Process p=Runtime.getRuntime().exec(c);
              // or Runtime.getRuntime().exec("javac Hello.java");

  • Compiling one java file within another java program

    Hi all,
    I want to compile one java file say one.java within a java program say second.java.. i simply have no idea as how to proceed ..pls help!!

    http://onesearch.sun.com/search/onesearch/index.jsp?qt=dynamically+compile&subCat=siteforumid%3Ajava31&site=dev&dftab=siteforumid%3Ajava31&chooseCat=javaall&col=developer-forums
    Just to give you an idea.

  • Sccm 2012 r2 error setup cannot compile mof file tasksequenceprovider.mof

    Am getting this error during SCCM 2012 R2 installation on the same server which has SQL 2012 with SP1. "setup cannot compile mof file tasksequenceprovider.mof". Any help?

    Hi,
    The following blog introduced a tool scans winodws module which may help find out the missing file.
    http://blogs.technet.com/b/configurationmgr/archive/2010/01/05/the-configuration-manager-service-pack-install-guide.aspx

  • Cannot compile servlet file

    I cannot compile Servlet files on my WinXP environment.
    my servlet.jar file is located at
    c:\tomcat\jakarta-tomcat-3.3.1\common\lib\servlet.jar
    what shall I do?
    The error messages are only for servlet portion of code?

    In XP you can set the path by rightclicking on my computer - then go to environment vairables and edit the path but I cannot see any for classpath???
    What is the easist way yo use the class path?

  • Is it possible to write a Java file that creates/compiles other Java files?

    My goal is to write a program that writes files containing Java code depending on the user's input. That's the easy part. The tough part, I think, is to get the Java file to use the Java compiler to compile, and run, those newly created files.
    I know this sounds crazy, but I really want to get this to work.
    Can someone please tell me how to do this?

    You could use the eclipse compiler
    http://help.eclipse.org/help31/index.jsp?topic=/org.ec
    lipse.jdt.doc.isv/guide/jdt_api_compile.htm
    Or the one from the JDK (com.sun.javac.Main located
    in the JDKs /lib/tools.jar). But that won't work with
    an JRE unless you ship the tools.jar too. And it
    isn't what i would call an official API. So i would
    rather use the eclipse compiler. I did this once and
    it worked fine.it isn't what sun call an official API, either, which is somewhat more important! the license even used to restrict re-distribution of tools.jar (I think that's changed now)

  • Can I include java files into my javafx project?

    If I do so, exception always occurs until I delete the created java files.

    Suppose I include the following class in my project (all other classes are of .jx type)
    public interface ServicePortType extends java.rmi.Remote{
        public String getMessage() throws java.rmi.RemoteException;
    }However if I'm trying to run the whole project,
    the following exception occurs:
    Cannot run program "C:\Program Files\Java\jre6\bin\javac.exe": CreateProcess error=2, The system cannot find the file specified
    C:\Documents and Settings\daps-stg\My Documents\NetBeansProjects\ProductionPath\nbproject\build-impl.xml:143: exec returned: -1
    BUILD FAILED (total time: 0 seconds)If I cancel the java source from my javafx project, it runs normally without any bug.
    So how is this happening and what is the potential solution?
    Thx. -- Isaac.

  • Write a jave file for creating rules

    Hello,
    How can I write a java file that helps me to create rules? What all do I need
    to import ? And from what do I have to extend my java class?
    Thanx in advance!
    Madhu.

    You might look at some of the examples that do this already, either in AUR or ABS.
    Some examples:
    various games
    j2re
    flash-plugin
    opera
    acroread
    if you run the command 'abs' as root, you can find these PKGBUILDs in subdirectories of /var/abs.  Hopefully you could adapt one of those to your binary program.
    Dusty

  • How to execute one java file in another java file

    Hi All!
    I hava a problem.. I need to validate functionality of one java file in my Junit test case.. so, I need to run that java file in my test file..
    How should I start with???? Are there any java API's for that.. I checked 'system' ..but which function will suite that functionality,,I am not sure about..

    I need to check the functionality of deletetion which
    is done by a java class.. Now I need to check this
    functionality..whether it is deleting or not... in my
    test case.. so, for that I need to execute that java
    file in similar manner as how we normally do it...,
    in my test case..So let the test case create a file and have your class delete it. What's there to run?

  • Cannot compile source file with Ctrl-F7 in VS 2008

    I have added an existing .cpp file to my project.  When I want to compile
    only one file, I usually press Ctrl-F7, but that does not work on this file (it works on some other source files).  When I pull down the Build menu, the Compile option is missing, like it is when a header
    (*.h) file is active.
    When I right-click on the source file in the Solution Explorer, the context menu shows "Compile\tCtrl+F7"; I can compile a single source file that way, but Ctrl-F7 is so much easier and faster.
    I have tried resetting the keyboard shortcut, resetting the profile to the original C/C++ profile, and closing and reopening Visual Studio, but nothing corrected the issue.
    It feels like VS is not recognizing that my source file is a C++ file, despite its name (something.cpp).  Why has this started happening, and how can I get the shortcut (and Build menu) to reset?

    This happens in the following way.  You manually create a new C++ class in an existing project using the editor in VC++.  You then (with the editor still open) add the file to your project.  Visual Studio finds your class info
    and adds it intellisense, making it seem as though VC++ knows your file is in the project.  However, it does not and ctrl f7 will therefore not work.  Removing and adding the file does not help...unless you close the editor window...in which
    case VC++ will correctly add the file if you remove and add it to your project.
    This is not an uncommon way to create a new class - one does not always use the VC++ create class option.  The manual creation method may be preferable if you are not using automated features from VC++ and instead want to copy some code
    from another file, headers for example.   My view is that this is a VC++ bug that should be repaired; apparently VC++ thinks the file is already included if it is open in the editor rather than checking its file list.  But it is easy
    to work around once you know what is happening.

  • Cannot open signature file to create manual custom signature.  MacOS Error code: -31063

    When opening the file in TextEdit or TextWrangler the error code appears it cannot open the file.  MacOS Error code: -31063

    This sounds like a known bug for a non English version of Office. See this post for more info.
    There is a Microsoft Developer answering questions.
    Other options:
    1)  Disable MERP
    Library/Application Support/Microsoft/MERP2.0 -prefs > deactivate
    2)  Remove these duplicate fonts:
    Library/Fonts/Microsoft
    Andale Mono
    Arial Black
    Arial Narrow
    Arial Rounded Bold
    Bauhaus 93
    Comic Sans MS
    Georgia
    Gill Sans Ultra Bold
    Impact
    Tahoma
    Trebuchet MS
    Run Font Book to make sure there are no more duplicates found. More info
    Run Font Nuke to delete font caches.
    3) Fix for Non-English version:
    This example is for Polish version MS Word. Not sure what this will do for future upgrades.
    1. Go to Aplication folder > Office > and find Word
    2. Click right mouse button and select show package content
    3. Go to Contents > Recources
    4. Change name folder from pl.lproj to en.lproj
    You can download the English version until a fix is offered. Installs 14.3.8,
    http://officecdn.microsoft.com/db/MacOffice2011/en-US/MicrosoftOffice2011.dmg

Maybe you are looking for

  • Cpt 5 - Quiz Answer Text Doesn't Display

    Situation: I've created a course with mutliple lessons. At the end of each lesson I use quiz pages to ask knowledge recall questions. These are scored but given a value of 0 points. At the end of the course, I have a quiz that is scored. Problem: On

  • Why will my embedded youtube videos work in firefox but not IE8

    I folowered the instructions on putting youtube videos on a website in dreamweavermx 2004 (copy embeded code, paste in Dreamweaver in code view etc) It just appears as a grey box with the logo AX in the middle when veiwed in IE8 , I thought I had don

  • Itunes 10 and Microsoft 2007

    Since installing new version of ITunes my Outlook 2007 wont close properly and becomes inaccessible once I close it. HOW DO I GET HELP AND AN ANSWER TO THIS PROBLEM!!

  • Immediate TO creation

    Dear WM gurus. We are trying to create immediate TO for a GR for a purchase order.We have maintained the setting of immediate TO creation in config in LE-WM in movement types . when we do the GR we see that only TR is created and TO is not created. K

  • HT2404 can we cancel a purchased app

    I bough an app on the appstore but noticed it was not handling the feature I actually needed. I removed it from my iphone. On Android, if you remove the app in the 15 mins after you bought it, it is refunded. Does not seem to be the case on iphone. I