C running under Java?

Greetings,
I have the need to create a Java program using SWING or using a web interface with JSP/Servlets however one of the program modules requires the input of a C code that needs to be run.
Is this possible?
For example, In the module I have a TextArea where I input something like
#include <stdio.h>
printf("Hello");
(I'm not a C programmer just say this as reference)
And Java will compile it in C and execute it.
Is this possible in both enviroments? Application AND/OR WEB using JSP/Servlets?
Thank you.

Simple.
java.lang.Runtime.exec() returns a java.lang.Process object.
With this object you can get an inputstream returned from [url http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Process.html#getInputStream()]Process.getInputStream() call that will allow you to read all data outputed from the process.
With that data rread, you can then output it in a Frame or a HTML page or whatever.

Similar Messages

  • JavaMediaFrameWork fails under Java 1.4 but runs under Java 1.3

    I have an JMF application running under webstart. It runs ok in Java 1.3
    Now I am trying to get ti to run under Java 1.4. The attached error is rather useless,
    but by guess at what is happening is that the JMF control has some .awt. stuff included
    but that Java 1.4 emulates .awt. in swing. But something was not set and the default does not
    work.
    This error messages does not appear in the 1.3 run
    Any suggestions would be greatly appriatated.
    1.4 result:
    mg version 2.1.1a
    player created com.sun.media.content.unknown.Handler@3a1834
    ctr com.sun.media.PlaybackEngine$BitRateA@4a9a7d
    ctr com.sun.media.BasicJMD[panel0,0,0,512x200,invalid,layout=java.awt.BorderLayout]
    duration? javax.media.Time@6b5666 sec = 9.223372036854776E9
    time unknown javax.media.Time@754699
    will realize the player
    realize
    javax.media.TransitionEvent[source=com.sun.media.content.unknown.
    Handler@3a1834,previous=Unrealized,current=Realizing,
    target=Realized]
    start smxBADS
    bass start
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at javax.swing.plaf.metal.MetalLookAndFeel.getControlInfo(Unknown Source)
    at javax.swing.plaf.metal.MetalScrollButton.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintWithBuffer(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at javax.swing.plaf.metal.MetalLookAndFeel.getControlInfo(Unknown Source)
    at javax.swing.plaf.metal.MetalScrollButton.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintWithBuffer(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    realize done
    panel found java.awt.Panel[panel1,0,0,0x0,invalid] java.awt.Panel[panel2,4,216,292x30,layout=java.awt.FlowLayout]
    press a button
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    at javax.swing.plaf.metal.MetalLookAndFeel.getControlInfo(Unknown Source)
    at javax.swing.plaf.metal.MetalScrollButton.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintWithBuffer(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Exception occurred during event dispatching:
    java.lang.NullPointerException
    1.3 result
    mg version 2.1.1a
    player created com.sun.media.content.unknown.Handler@354749
    ctr com.sun.media.PlaybackEngine$BitRateA@5b484d
    ctr com.sun.media.BasicJMD[panel3,0,0,512x200,invalid,layout=java.awt.BorderLayout]
    duration? javax.media.Time@46d228 sec = 9.223372036854776E9
    time unknown javax.media.Time@f7386
    will realize the player
    realize
    javax.media.TransitionEvent[source=com.sun.media.content.unknown.
    Handler@354749,previous=Unrealized,current=Realizing,
    target=Realized]
    start smxBADS
    bass start
    javax.media.DurationUpdateEvent[source=com.sun.media.content.unknown.Handler@354749,duration=javax.media.Time@55c0f9
    javax.media.Time@55c0f9
    javax.media.RealizeCompleteEvent[source=com.sun.media.content.unknown.Handler@354749,previous=Realizing,current=Realized,target=Realized]
    realized complete
    prefetch
    realize done
    controlComp com.sun.media.ui.DefaultControlPanel[,0,0,74x21,invalid,layout=java.awt.BorderLayout]
    add controlComp 21 java.awt.Panel[panel4,10,-12,258x47,invalid]
    javax.media.TransitionEvent[source=com.sun.media.content.unknown.Handler@354749,previous=Realized,current=Prefetching,target=Prefetched]
    start smxBADS
    bass start
    running ok from here on

    I have also experienced buggy problems with 1.4 from things that work perfectly well in 1.3. I've informed Sun about some of my bugs and of course they're having trouble reproducing them, but what I'm going to do is just stick with 1.3 until 1.5 comes out, and then give that a try. If 1.5 is as buggy as 1.4, then perhaps I'll simply dive into C++ and leave Java behind.

  • JDBC Driver 10.2.0.3 will not run under Java 1.4

    While using Oracle Database 10g Release 2 (10.2.0.3) JDBC Drivers my application will not run with Java 1.4
    I keep getting an ArrayIndexOutOfBoundsException, followed by a number. Running 10.2.0.3 with Java 1.5 does not give this error. If using Oracle Database 10g 10.1.0.2 JDBC Drivers that error does not occour either.
    I am running other applications with 10.2.0.3 with Java 1.4 that does not have this error.
    Anyone know about this problem?
    Stacktrace:
    java.lang.ArrayIndexOutOfBoundsException: 103205256
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java(Compiled Code))
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
    at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
    at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)
    at org.hibernate.loader.Loader.doQuery(Loader.java:674)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    at org.hibernate.loader.Loader.doList(Loader.java:2220)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
    at org.hibernate.loader.Loader.list(Loader.java:2099)
    at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
    at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
    at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:362)
    at org.springframework.orm.hibernate3.HibernateTemplate.executeFind(HibernateTemplate.java:332)

    I did not know where to put it. I did a search and saw others who had postet here regarding Oracle driver.
    I do not know why it ended up here. I ment to post it at Java » SQLJ/JDBC
    Message was edited by:
    user619696

  • Oracle Driver 10.2.0.3 will not run under Java 1.4

    While using Oracle Database 10g Release 2 (10.2.0.3) JDBC Drivers my application will not run with Java 1.4
    I keep getting an ArrayIndexOutOfBoundsException, followed by a number. Running 10.2.0.3 with Java 1.5 does not give this error. If using Oracle Database 10g 10.1.0.2 JDBC Drivers that error does not occour either.
    I am running other applications with 10.2.0.3 with Java 1.4 that does not have this error.
    Anyone know about this problem?
    Stacktrace:
    java.lang.ArrayIndexOutOfBoundsException: 103205256
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java(Compiled Code))
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
    at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
    at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
    at org.hibernate.loader.Loader.getResultSet(Loader.java:1787)
    at org.hibernate.loader.Loader.doQuery(Loader.java:674)
    at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
    at org.hibernate.loader.Loader.doList(Loader.java:2220)
    at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
    at org.hibernate.loader.Loader.list(Loader.java:2099)
    at org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:94)
    at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1569)
    at org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:283)
    at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:362)
    at org.springframework.orm.hibernate3.HibernateTemplate.executeFind(HibernateTemplate.java:332)

    Use ojdbc14.jar with JDK 1.4.
    http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html

  • ReportViewer.jar running under Java Version 6 Update 17

    Hello,
    Does anyone know how to resolve the missing icons issue when running the ReportViewer.jar tool under the above Java version. Under update 16 the viewer had all the correct buttons and icons and worked great. Since the upgrade to Java update 17 the icons have disappeared from the viewer. The buttons are still there but no icons.
    I am using Crystal Reports XI developer edition with the latest service packs on Windows 7.
    Regards
    Adrian

    This solution worked for me. All settings and bookmarks are intact. Thank you.

  • Running multiple java apps simultaneously, each using a different jre.

    I have a situation where I have 3 or 4 applications (and one applet) that were built over time, each with a different version of the jdk (ranging from 1.2.2.005 to 1.3.2). I need to know of a way (and it must exist) to run each of these applications on the same machine, and at runtime, have each application (or applet) run with its respective version of the jre. Certainly, one could change some source code and make all programs compatible with a particular jre, but that doesn't solve my problem if a new app is built with a new version of the jdk down the road. Currently, each runs fine by themselves, but if I try to run them together as different processes, some won't do anything because the default jre may not be what it needs. Would the Java Plug-in software have a role to play in this? Is there a way to specify (link) which application should use which jre?
    P.S. These applications (right now) don't have to interact or interface in any way. I just need to have them all running as separate processes on the same machine and be able to jump from one to the other.

    However ... if you have the programs running in Java1.x, I
    wouldn't recommend to let it run under Java 1.y; atleast
    not without thorough testing.I do it all the time and have not had a problem. I'm
    currently using JDK 1.4 beta 3 and I regularly run a
    Java application written with JDK 1.1.
    It sounds like the programs you are running are
    relying on behavior that is not guaranteed. If that
    behavior changes in a later version, it can break your
    program. Program to the contracts provided by other
    classes and packages, and you should have few or no
    problems.I guess you are right. Maybe you can help me with the following problem (this is off this topic, I know): I have Swing JDK 1.2 and Swing from JDK 1.3. I have to register keys on components.
    In JDK 1.2 I can use registerKeyBoardAction, in JDK 1.3 I have to use input maps and action maps. Both solutions only work with certain JDK. What I did was writing code which detects the java version and takes the appropriate action to register the keys. To make the thing compile in 1.2, I have to use reflection for the input/action map methods, because they are only available in 1.3.
    Any idea how to solve this more elegantly ?

  • Help tracking down a file descriptor leak under java 6

    I have a large application I work on that runs fine under java5 (apart from possibly the latest update) but running under java 6 results in file descriptors used for TCP sockets being leaked.
    I'm testing this under FreeBSD 6 (both i386 and amd64) using diablo JDK and a port build jdk-1.6.0.3p3 but I have had reports from other users of exactly the same issue under various linux distributions. There are some reports that going back as far as 1.6.0b5 will resolve the issue but no later version works and a few reports that the latest 1.5 updates have the same issue.
    This application is using standard IO so Socket/ServerSocket and occasionally SSLSocket, no NIO is involved. Under the problem JDKs it will run for a while before available FDs are exhausted and then fall over with a "too many open files" exception. So far I have been unable to recreate the situation in a simple testcase and the fact it works fine under earlier JDKs is really causing me issues with deciding where to look for the issue.
    Using lsof to watch the FDs that are leaked I see a steadily increasing number shown in the following state:
    java 23438 djb 54u IPv4 0xffffff0091ad02f8 0t0 TCP *:* (CLOSED)
    java 23438 djb 55u IPv4 0xffffff0105aa45f0 0t0 TCP *:* (CLOSED)
    java 23438 djb 56u IPv4 0xffffff01260c15f0 0t0 TCP *:* (CLOSED)
    java 23438 djb 57u IPv4 0xffffff012a2ae8e8 0t0 TCP *:* (CLOSED)
    If these were showing as say (CLOSE_WAIT) then I would understand where they are coming from but as far as I understand the above means the socket has been fully closed but the FD simply hasn't been released. I'm not an expert on the TCP protocol however so I may be wrong here.
    I did try making the application set SoLinger(0,true) on all sockets which of course made all connecting clients think the connection was aborted rather than gracefully closed but even with this setting the FD leak persisted.
    I've gone as far as looking at what I think are the relevant parts of the src for both JDK versions I am using but there are very few changes and nothing that obviously looks linked.
    I'm fully prepared to spend a lot of time looking into this and I'm sure I'd eventually find the cause but if anyone here already knows what the answer may be or can simply give me a nudge in the best direction to look I would be very grateful.

    After weeks of dancing around the issue for weeks, we narrowed it down to garbage collection. If we put System.gc() to run periodically , file descriptors get garbage collected properly . I've tried playing with the settings by using XX:+UseConcMarkSweepGC which seems to help a great deal while system is under stress. However when there is light activity.. the file descriptors grow again and eventually bring everything down.
    Any clues ? is there any way to make gc to perform full collection more often ?
    pls whelp !!!

  • Java running under linux with crontab

    I'm having a problem:
    i want to run a java program under linux with crontab.
    my classes are in a directory and aren't in a package. i run em by invoking ./start which is a small script that i wrote. The script is in the same dir as the classes and invokes java by "java Main >>logjava.txt " but this doesn't seem to work all i get is an empty logfile
    i need to run the program every day at 0800 so i inserted the following in crontab:
    0 8 * 1-5 /var/"path"/start > logjava (where path is the path to the classes dir)
    if i run the cmdline from anywhere on the prompt i get the result i want. I think it's because the cron runs it from the root dir thus making java unable to find the classes
    Any suggestions would be welcome. or can some1 tell me how to make linux executables from the java (i usually use jsmooth for the windows exe)

    You can execute several commands in the process started by cron. You separate them using semicolons.
    Have you tried a cron entry like this:
    0 8 * 1-5 cd /var/"path";pwd;echo $PATH; ./start > logjavaOr, you may need to make sure the process started by cron gets the same environment as your interactive shells do, by explicitly loading your setup or .login scripts:
    0 8 * 1-5 . $HOME/.setup;cd /var/"path";pwd;echo $PATH; ./start > logjava

  • Loss of keyboard focus in Java appl running under linux

    I have a small sample program that replicates my problem. When this program is run a window is created. If you select File->New another instance of the program window is created. Now if you try to go back and bring to front the first window, keyboard focus is not
    transferred when run under linux. You can only type in the second window. The expected behavior does happen in Windows.
    > uname -a
    Linux watson 2.6.20-1.2933.fc6 #1 SMP Mon Mar 19 11:38:26 EDT 2007 i686 i686 i386 GNU/Linux
    java -versionjava version "1.5.0_11"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
    Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
    javac -versionjavac 1.5.0_11
    import java.awt.event.*;
    import javax.swing.*;
    class SwingWindow extends JFrame {
        SwingWindow() {
         super("SwingWindow");
         JMenuBar menuBar = new JMenuBar();     
            JMenu fileMenu = new JMenu("File");
            JMenuItem newItem = new JMenuItem("New");
            newItem.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent event) {
              SwingWindow.createAndShowGUI();
         fileMenu.add(newItem);
            menuBar.add(fileMenu);
            setJMenuBar(menuBar);
            setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);       
         JTextField text = new JTextField(200);
         getContentPane().add(text);
         pack();
         setSize(700, 275);
        public static void createAndShowGUI() {
            JFrame frame = new SwingWindow();
            frame.setVisible(true);
        public static void main(String[] args) {
            javax.swing.SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    createAndShowGUI();
    }

    You can implement the FocusListener interface. When
    the first JFrame gains focus, call
    text.requestFocusInWindow(). I hope this helps.The call requestFocusInWindow is not helping, perhaps even making it worse.
    The problem seems to be that I am in the situation where the call
    KeyboardFocusManager.getCurrentKeyboardFocusManager().getPermanentFocusOwner()
    is returning the expected Component. The problem is that the KeyListener class that is registered with the Component is not being called when a key is being pressed.
    The issue is that I have a component that has the keyboard focus, but the KeyListener class
    is not responding.
    This seems to be a linux only problem which makes it only mysterious.

  • HT204036 why do apps demand older versions (java 6) if their jar runs fine under  java 8 (e.g. freemind) ?

    Hello Community
    Since i had installed the newest version of Java several Java applications urge me to install the older Java 6.
    I wonder why since the jar included in the package runs fine under Java 8 as expected.
    regards volker

    There are two different Java distributions for end users: one distributed by Apple, and one by Oracle. They don't overlap in function.
    The Apple Java runtime (version 6) is needed to run bare jar files and older standalone Java applications. Newer Java applications have the Java runtime built in, and don't depend on Apple's Java.
    The Oracle Java runtime (version 8 or later) is a web plugin only. It's used to run Java applets on web pages and Java WebStart applications. You can determine whether it's installed and up to date by looking for a preference pane named Java in System Preferences. If it's present, open it. It will launch the "Java Control Panel." Select the Update tab.

  • JavaSoundRenderer now running under Windows

    Hello,
    I found out that the JavaSoundRenderer could run under Windows but only if you use Java 6.0 Beta.
    So if you've problems of playing audio in Windows then just install the new Java (6.0) and it will work.
    best regards,
    thomas

    Hi,
    Refer [SAP Note:1337708 - Crystal Reports support of 64 bit Operating Systems|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333333333337333733303338%7D.do] and also have a look at
    [SAP Note:122050-An error has occurred while attempting to load crystal reports on 64bit|http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233323330333533303331%7D.do] might be helpful

  • Dropbox process running under root.

    Hello people i just checked activity monitor for a process and i saw the process "dbfseventsd" and i google it and it came up that it is a dropbox process, and it was running under the root user and it was a 32bit process. Can anyone tell me why that process was there note the process is not always there when i use dropbox.
    Thanks
    Alex

    Hello All
    Since a couple days, in my Home appears DCQd7rmUW9.tmp. It is a temp file produced by dbfseventsd but operated by Java. It is a DropBox process anyway?

  • Getting processes running under NT

    Dear all,
    Is it possible for my Java application to check whether some process is running under NT 4.0? For example, can I check whether Word 2000 is currently running on a machine? You can see winword.exe being active in the task manager, how can I catch this from my Java application?
    Thanks in advance,
    Sebastiaan

    Look into NT Resource Kit. You can access commands like 'ps -ef' (it'll give you the list of running processes - just like Unix).
    using Runtime.getRuntime().execute("ps -ef | grep [your_process_name]");
    The trick part would be to capture the output. Right from the top of my head: do Runtime.getRuntime().execute("ps -ef >> output.txt");
    It'll create output.txt with some output in it. Reading in the file, you'll find out if your process is running.
    The NT Resource Kit is a standard utility any nt sysadmin should have.
    Good luck
    AN
    www.bizdisplay.com

  • JSP's running under Resin server engine???

    I have a JSP application that I am trying to move from running under Tomcat 4.0 to Resin web server engine.
    When trying to run the application, I get this error:
    java.util.MissingResourceException: Can't find bundle for base name AppProperties, locale
    I think the error is happening because I have the AppProperties file in the wrong place under the Resin directory. Could someone please let me know how to properly use a Resource Bundle Properties file using Resin for my JSP's to run???
    Please help...
    Thank you...

    Never mind....I got it....

  • Eclipse running under JRE

    Hello gurus...
    I have seen eclipse working under JRE only. But how it can compile java files to class files if there is no javac.
    any clues???

    phoenix-supratim wrote:
    But could you be more specific. Exactly which compiler you are talking about.The eclipse compiler. I don't know how to be more specific than that. They have created their own compiler so you don't need a JDK to use it (and possibly for other reasons).
    Is there any other compiler available to compile java files to class files.Well, I guess OpenJDK have their own compiler too.
    If that is the case then for running jar files it needs a JVM. And if a JVM is already there in eclipse it should'nt have asked for a JRE in the first place.[Eclipse atleast need a jre to run]I didn't say Eclipse has its own JVM. I said it has its own compiler. It requires a JRE because JRE contains the JVM that is used to run any Java programs.
    Another thing I would like to know. I have added MAVEN plugin in my eclipse. I noticed that when eclipse working under JRE only, MAVEN gives warning that a jdk JVM should be there to successfully run MAVEN. Beacause it needs some jar files from JDK. Exactly which jar files does MAVEN need from JDK and which way those jar files are different from JRE jar files.JDK has additional libraries that the JRE doesn't have.
    Because all the jar files JDK have to initialize and run a JVM are all there in JRE.JDK includes the JRE, which includes the JVM. And the JDK does have things that the JRE doesn't (like the compiler).

Maybe you are looking for

  • EBS- Charges and divided received

    Hello Expert, I've a requirement for EBS implementation project, Scenario:  I completed my BRS on 05th Feb from lst Feb. till 5th Feb. Again on 10 I'll do BRS for which I'll take MT940 file from 1st feb till 10 feb. In such scenario all the charges (

  • Partner profile is not workin for automatic vendor posting

    Dear SAP Gurus, When i am doin the intercompany billing so the RD04 output calls but the status is red and when i see the processing log the system says that EDI: Partner profile not available..and also vendor A/P dont generate..even though i have ma

  • Help required in triggering concept for sending mails automatically

    I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the sched

  • TS4436 Problem with camera effects.. Browsed my gallery all my photo effects gone ?

    Hey !! Just noticed before uploading pictures that all my effects I'd applied on camera shots have returned to natural or no effect when I browsed the gallery , when you click edit however the picture is with the effect I started with and you cannot

  • How do i measure frequency?

    lets say theres this signal in volts. if you plot the signal it forms a sine graph. is there any way to use labview to determine the frequency of the signal? i've tried to use the "measure frequency vi" but my device is connected to a virtual channel