Associating .java files with JDeveloper in Windows

Is there some mechanism via by which I can load a .java file in a currently instance of JDeveloper (905p) on Windows (2K) from the command line?
I want to be able to associate .java files with JDeveloper with appropriate actions defined, so that when I double-click on a .java file in Windows Explorer, it gets opened up in the currently running JDeveloper instance ... rather than opening a new instance of JDeveloper?
Thanks

Hi,
There's no easy way to do this at the moment. However, in the 10g production release, functionality has been added to associate .java files (and other artefacts e.g. .jpr files) with JDeveloper.
Thanks,
Brian
JDev Team

Similar Messages

  • BUG: error rebuilding SQLJ files along other java files with generic

    I have done a rebuild on a package containing some SQLJ files, and (consistently) got the following error:
    C:\TeleMessage\trunk\src\telemessage\db\impl\dbAdmin.sqlj
        Error(44,18): Java Parsing. Encountered: <
        Expected: <IDENTIFIER> ...; "[" ...; The error at the cursor in the given file is not possible, since there was no '<' there, and besides - if I non-aggresively changed the file, e.g. narrowed imports, changed whitespace or added comments - the error remained in the same location.
    I went and done a search using regex in the package, for a line starting with 17 chars followed by a '<'.
    I found it in one of the normal JAVA files (not-SQLJ), at line 44 (surprise!) - in a Java 5 generics declaration, e.g. Map<String,Integer>. the 18th character was indeed the '<'.
    I'm guessing that the SQLJ translator (accidentally?) parses non-SQLJ files.
    If this cannot be fixed, it is really bad - it is one thing that JDeveloper cannot support Java 5 language features because of its dependancy in the SQLJ translator (which is not known to be upgraded until version 11g if at all), but the inability to compile SQLJ files in a project containing other non-SQLJ java files with Java 5 features is hard.
    I could only workaround this by rebuilding SQLJ files one at a time!
    I also have another type of error, when rebuilding the same project in a higher-level pacakge (root or "Application Sources"):
    C:\TeleMessage\trunk\src\dbtools\CallbackNumberFiller.sqlj
        Error(24,8): Missing semicolon.
        Error(24,8): Unbalanced curly braces.Again, the specified file could not be the one to blame - the location of the error is in the middle of the public modified keyword in a method declaration; nothing is neither missing nor unbalanced.
    This appears to be different, as it pops in the log near the end of the build process, when the JSPs are being built, specfically during the time the message log fills with "writing <...>" lines (after "translating <...>" and "compiling <...>".
    I can consistently reproduce both cases - please advise how I can help you find out what causes this.
    Regards,
    Yaniv Kunda

    First of all, this bug not JDeveloper's problem, but the SQLJ team's.
    You can read more posts about this:
    Re: BUG: Cannot translate SQLJ files with Java5 generics code
    Re: How to use SQLJ with Java 1.4 and 1.5?
    Re: SQLJ discontinued??
    And if we're at it, this is strange - I can't seem to find the oracle doc you quoted...
    SQLJ 11g? The latest release is a part of JPublisher 10.2 available from
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/index.html
    I also didn't find anything on google on 11g, nor about the part number you specified.
    Didn't find any Java 1.5 supporting SQLJ translators from other vendors as well.
    Do you have any link to this statement?
    But if we examine this bug again, the problem involves JDeveloper passing Java 5 featured JAVA files to the SQLJ translator.
    Isn't there a way to instruct the translator to use CLASS files compiled by a normal Java 5 compiler, instead of trying to compile the files itself?
    Regards,
    Yaniv Kunda

  • How to display the PPT, PDF, XL, DOC files with in the Windows store app?

    Hi,
    I would like to display the PPT, PDF, XL, DOC files with in the Windows store app? is there any controls provided by Microsoft to view these files with in the app?
    Or
    Any workaround to achieve the desired functionality?
    Kindly provide your inputs if any one has.
    Regards
    Prasad

    Hi Prasad,
    As I know currently there is no in-build functionality to display the PPT, XLS or DOC file directly on the Windows Store App, but you can always open these files by
    Launcher class
    However a good news is we can display PDF on Windows Store App by
    Windows.Data.Pdf class, see this for more information:
    https://code.msdn.microsoft.com/windowsapps/PDF-viewer-showcase-sample-39ced1e8/
    --James
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Since I use Mac os x mountain lion it is no more possible to share files with my pc windows 7. Does somebody know how to solve this problem?

    Since I use Mac os x mountain lion it is no more possible to share files with my pc windows 7. Does somebody know how to solve this problem? I have been answered by an Apple technician that with the new Mountain Lion the problem was with Windows. I am not convinced.

    I have renamed my pc and everything is ok with the file sharing SMB. Both my iMac and my pc can share files very easily.

  • Associating image files with Photoshop

    I'd like to associate jpg or raw files with Photoshop, whereby I can click on the image file and it will launch directly into Photoshop.  When I try to associate through Windows 8 it fails to find Photoshop CC as an option to open any form of graphic files, yet I can open PS CC directly and then open the files, or go through Bridge.   Thanks.

    I find in windows two thing need to be set correctly for that to work like you want. First the file extension associations must to set to ypir Photoshop version and the windows registry keys for photoshop.exe shell commands open and edit must be set correctly. 
    File associations may be checked and changes with the control panels default programs file association application and the registry keys can be checked. and modified with regedit.

  • Upload Files with JDeveloper

    Hello everybody,
    I have a problem trying to upload multiple files to database with jdeveloper 9i (BC4J + JSP).
    I can upload just one file using the following code:
    ////upload.jsp
    <form ACTION="upload_file_sub.jsp" METHOD="POST" ENCTYPE="multipart/form-data">
    doc id: <INPUT TYPE=TEXT NAME="Id" VALUE=""><br>
    doc: <INPUT TYPE=FILE NAME="Doc"><br>
    <input type="submit" text="submit">
    </form>
    //////upload_submit.jsp
    <jbo:ApplicationModule id="Mypackage2Module" definition="Project1.Mypackage2Module" releasemode="Stateful" />
    <jbo:DataSource id="ds_archvivo" appid="Mypackage2Module" viewobject="ArchivoView1" />
    <jbo:Row id="row_files" datasource="ds_archvivo" action="create" >
    <jbo:SetAttribute datasource="ds_archvivo" dataitem="*" usemultipartformat="true" />
    <jbo:MediaUrl id="url" datasource="ds_archvivo" mediaattr="Doc" ></jbo:MediaUrl>
    </jbo:Row>
    <jbo:Commit appid="Mypackage2Module" />
    Does anyone how can I upload multiple files with one <form>???
    Regards,
    Santiago

    Hi Marco,
    I dont know transaction CV02N. But if this application uses standard function modules like GUI_UPLOAD it should work with ITS. A special configuration should not be required as long as the files have a size up to 5 MB. If they are larger it might be required to adjust the size of the request container MaxReqSize. Dont forget that Java has to be activated to let webgui access the filesystem.
    Regards,
    Klaus

  • How to create JAVA Class file from an exisitng JAVA file in JDEVELOPER

    Hi All,
    I have a file called abc.java and i need to generate a class for the same using JDEVELOPER. Please help me what are the steps to be followed. I'm totally new to JAVA and first time working on JDEVELOPER tool.
    Thanks in Advance !

    Being completely new to something is not an argument (or shall we be honest: an excuse?) to not read the manual.
    Just to note: I would pick Eclipse or Netbeans if you're completely new to java. You'll have more chance of finding help either in forums, mailing lists or Google searches. But if you must stick with JDeveloper, the forum is here:
    JDeveloper and ADF

  • Using java files with JSP

    Ok, so im pretty new to this JSP lark and have a question.
    I have Java Classes resting in .java files, i need to know how
    do i link these files to my .jsp page so that the classes/variable etc.
    declared with the java files are recognised when they are come
    across in the .jsp file.
    I dont know if I have explained that properly.

    Just include this statement at the top of your jsp:
    <%@page import="yourpackage.yourclass"%>
    The .java files should of course be compiled into .class files prior to using (and you don't include the extension when importing).

  • How to deal with #ifdef in .java files with javadoc tool?

    My .java file included some '#ifdef' & '#endif' sentence. So when I used javadoc tool to generate the .html files, error happened. Can anyone give me some indication how to resolve the problem, provided that the source code can not be changed because it was written by others. Waiting for your reply and thanks in advance!

    Hi, got the same problem, have stuck for all day on this and yield no progress.
    my source code contain
    #ifdef
    and
    #endif
    it is source code (not comment), the only compile with a special preprocessing tool call
    "sjpp.jar".
    I need to generate Javadoc there.
    the error is
    [javadoc] C:\TEMP\cellml_visual_checkout\cellml_api\java\src\org\cellml\CNode.
    java:101: illegal character: \35
    [javadoc] #ifdef JENA
    if I pass in encoding parameter when I do javadoc,
    say, -encoding "PROPROC",
    then there is different error
    [javadoc] Constructing Javadoc information...
    [javadoc] Standard Doclet version 1.5.0
    [javadoc] Building tree for all the packages and classes...
    [javadoc] java.lang.Error
    [javadoc] at sun.nio.cs.StreamEncoder$CharsetSE.flushLeftoverChar(StreamEn
    coder.java:361)
    [javadoc] at sun.nio.cs.StreamEncoder$CharsetSE.implWrite(StreamEncoder.ja
    va:381)
    [javadoc] at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:136)
    [javadoc] at sun.nio.cs.StreamEncoder.write(StreamEncoder.java:146)
    [javadoc] at java.io.OutputStreamWriter.write(OutputStreamWriter.java:204)
    [javadoc] at java.io.PrintWriter.write(PrintWriter.java:384)
    [javadoc] at java.io.PrintWriter.write(PrintWriter.java:401)
    [javadoc] at java.io.PrintWriter.print(PrintWriter.java:532)
    [javadoc] at com.sun.tools.doclets.formats.html.HtmlDocletWriter.printLink
    (HtmlDocletWriter.java:1045)
    [javadoc] at com.sun.tools.doclets.formats.html.MethodWriterImpl.printRetu
    rnType(MethodWriterImpl.java:361)
    [javadoc] at com.sun.tools.doclets.formats.html.MethodWriterImpl.writeSign
    ature(MethodWriterImpl.java:148)
    [javadoc] at com.sun.tools.doclets.internal.toolkit.builders.MethodBuilder
    .buildSignature(MethodBuilder.java:176)
    [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    [javadoc] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
    sorImpl.java:39)
    any help will be appreciated.
    thanks
    Bill

  • How to compile a java file in J9 for windows mobile 5.0

    I have downloaded J9 for windows mobile 5.0 and need help on how to compile a java file.

    You can compile your source code using J2SE ;)
    may be this is important for you:
    http://awareness.ics.uci.edu/~rsilvafi/pocketPC/index.
    html
    Regards!!!Actually i am using some eSWT related classes also.. so is there any way to compile from the J9 environment using J9 console..

  • Associating music files with palylists and/or music library

    My HD went out but luckily (I thought) I had a backup of my iTunes folder on an external drive. After installing the new hard drive and all the updates to TIGER 10.4.x I copied my original iTunes folder to new drive to the music folder.
    I see all my files in my library and play lists, but they all have an "!" by them and when I choose a particular song, a message comes up saying that iTnes can NOT find the associated music file (even though the file is actual there in the iTUnes folder and on my HD). Short of manually associating every library/playlist song with the actual music file (more that 2,000 files), is there any automated process or method to associate all the music files with the library/playlist files?????

    Morris:
    First, back up your iTunes Library file - just in case the original gets damaged, you will have a clean copy to restore to.
    *From the File menu, select Export Library and save as an .xml file to your desktop.
    *Go to iTunes Preferences>>Advanced, and make sure that you have DESELECTED Copy music to iTunes folder when adding to library and SELECTED Keep iTunes Music folder organized.
    *Close iTunes
    *Now, go to the ~/Music/iTunes folder and remove the
    b iTunes Library
    file from this folder.
    *Restart iTunes - your Source Menu and Library should be empty of everything except the standard preset playlists.
    *From the File Menu, select "Add to Library" and navigate to the location of your music files.
    *When the import process is finished, go to the File Menu, select Import and navigate to the Library.xml file you created in the first step.
    Your links between songs should be reestablished and your metadata intact.
    Good luck and let us know how you make out.
    Lita

  • Help associating indd files with ID CS5

    I uninstalled InDesign CS4 on my computer to free up disk space.  I already had InDesign CS5 installed.  Now, my .indd files are not associated with my CS5 version.  I can see the indd extension in my files, but when I click on them they do not open in any format.  I have tried going through the steps and associating the .indd files to CS5, but the computer will not allow me to associate those files with the indd.exe file.
    Any suggestions on getting this fixed?
    Thanks!

    Once you wind up with that situation it's fastest to just reinstall.

  • How to block send file with skype on windows store...

     Hi all,
     In domain environment, we can prevent users send file through skype by GPO with adm.
     (Link: http://community.skype.com/t5/Windows-archive/Blocking-file-transfer/td-p/1758460)
     But with skype on windows store (Like: Windows 8 ), this way isn't useful.
     So Is there anyway to we block send file on skype windows store?
     Thanks.

    Sorry, that isn't a Firefox support issue. Try AOL support for help with that.

  • Utility for compiling java files with options.

    i want to create a utility application in java which can compile a java source file with options like -d , -classpath,-help etc.
    there is a java.lang.Compiler class which can be used to compile a source file but how can i supply compile time options?
    help.

    Welcome to the forum!
    >
    i want to create a utility application in java which can compile a java source file with options like -d , -classpath,-help etc.
    there is a java.lang.Compiler class which can be used to compile a source file but how can i supply compile time options?
    >
    Is this an interview question? An intellectual exercise to see if you can do it?
    Why do you want to do this when there is already a freely available utility, javac, that can already do all of that?
    Please provide more information and a sample user session that shows what you are really trying to accomplish.
    And the class you mentioned is not really for the purpose you say you want
    >
    The Compiler class is provided to support Java-to-native-code compilers and related services. By design, the Compiler class does nothing; it serves as a placeholder for a JIT compiler implementation.

  • Unable to add java files with package statement

    Hi all,
    I have the following problem. I add to my project(JBuilder8) a set of java files that
    they have in their headers the statement...
    package jp.gr.java_conf.tame.swing.table;except one with statement...
    package jp.gr.java_conf.tame.swing.colorchooser;If i try to compile the project i get the following message many times for
    each file...
    "AttributiveCellRenderer.java": Error #: 901 : package
    jp.gr.java_conf.tame.swing.table stated in source
    C:\Development\JBProjects\cellspan\AttributiveCellRenderer.java does not
    match directory . at line 4, column 36What i have to do to embed correctly the java files?
    Thank you for advance, kostas.

    Sounds like your source file is in the wrong directory. The directory the file's in has to match the package.

Maybe you are looking for

  • Assigning values to database types

    Hi I've created some types like the ones below but I can see how to assign a value to the fred_complex_obj using pl/sql. Does anyone know? Thanks, create or replace type fred_phone_obj AS OBJECT (telephone_number varchar2(20) , telephone_type VARCHAR

  • BW SQL Source System using DBCON

    I have created the Source system as mentioned in help.sap.com, and when I try to select Tables, it tell me that their are no tables. But I wrote an ABAP program and tested the connection is working and I was able to pull data from one of the tables u

  • What to do when Dr. Pepper is spilled on Macbook Air?

    How did this happen? I had an almost-empty glass of Dr. Pepper sitting beside my computer (stupid decision to leave it there, I know,) and my dog was laying beside me.  I was on iTunes about to sync some music I had just added to my library to my iPh

  • How do I install fonts I purchased from Adobe?

    I purchased Adobe fonts and downloaded to my desktop.  There are no instructions for installing.  How do I install the fonts? Rex

  • Screen Grabs - no iPhoto Preview

    Hi There! I have just noticed a bug between the iPhone and iPhoto. Photos taken with the camera display a preview. Screen Grabs from the iPhone (holding the home key and clicking the sleep/wake button) have no preview in the import window however imp