"command not found" when using bash as root [SOLVED]

Some examples:
bash: gparted: command not found
bash: cryptsetup: command not found
bash: lsusb: command not found
All of these are defintely installed, and work without any problems if I type in their full path. Any idea why this is happening?
Last edited by SkyValley (2008-12-15 02:57:30)

That means you're not starting it as a login shell, so you may want to look in to that.
/etc/profile is what you need,
echo "source /etc/profile" > /root/.bashrc
That's safe to do regardless and you can look in to the login shell problem later.

Similar Messages

  • Jre not found when using Loadjava command

    Hello,
    I am getting an error when I run the below load java command on a 9.2.0.8 database on Sun/Solaris platform.
    Command:
    loadjava -user user/[email protected]:1529:OLS2 -thin -force -resolve -verbose filename.jar
    Error:
    /olcdbt/u01/app/oracle/product/9.2.0.8/bin/loadjava: /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/jre: not found
    When I tried creating a new Jre soft link from $ORACLE_HOME/bin like : 'ln -s $ORACLE_HOME/jdk/jre/bin/java $ORACLE_HOME/jdk/jre/bin/jre' its giving a new error:
    jre was not found in /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/../bin/sparc/native_threads/jre
    Strange thing here is that this was working fine in 9206 home and after upgrading to 9208 1 month back I am facing this issue. I am sure I am missing something here but not sure what.. Please help me resolve this issue.
    Regards,
    Raji.

    Hi,
    Even though the problem manifests when using loadjava, it has noting to do with the embedded Java VM in the database; it's rather an install /upgrade problem.
    Perhaps the followinf post can help: http://64.233.167.104/search?q=cache:h3XhGo2kZaYJ:forums.oracle.com/forums/thread.jspa%3FthreadID%3D43105+site:oracle.com+%22JRE+not+found%22&hl=en&ct=clnk&cd=9&gl=us
    Kuassi http://db360.blogspot.com

  • Getting error : Jre not found when using Loadjava command

    Hi folks,
    I am getting an error when I run the below load java command on a 9.2.0.8 database on Sun/Solaris platform.
    Command:
    loadjava -user user/[email protected]:1529:OLS2 -thin -force -resolve -verbose filename.jar
    Error:
    /olcdbt/u01/app/oracle/product/9.2.0.8/bin/loadjava: /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/jre: not found
    When I tried creating a new Jre soft link from $ORACLE_HOME/bin like : 'ln -s $ORACLE_HOME/jdk/jre/bin/java $ORACLE_HOME/jdk/jre/bin/jre' its giving a new error:
    jre was not found in /olcdbt/u01/app/oracle/product/9.2.0.8/jdk/jre/bin/../bin/sparc/native_threads/jre
    Strange thing here is that this was working fine in 9206 home and after upgrading to 9208 1 month back I am facing this issue. I am sure I am missing something here but not sure what.. Please help me resolve this issue.
    Regards,
    Raji.

    Dear my collegue, the best place to ask this question is JVM forum.
    Java in the Oracle Database

  • 'java_wrapper: command not found'  when running license script

    Hello, am trying to run a third party application licensing script which needs JRE to run. This script is failing with the following error. 'java_wrapper: command not found' ...
    Can anyone assist with ideas of resolution?! Does a path need to be set? Does JRE (1.4.1_x) need to live in a specific part of the unix filesystem (solaris 8)?!
    Thanks!!

    This is not a TNS names issue if you can connect to database. It could be a network problem, but more likely it's a problem with the installation of the app server. When you install the app server, it should use the name assigned to the server. I don't believe you can just make up a name for an app server unless it is known to the network.

  • [SOLVED] command not found when chrooted into Debian

    I have used Debian previously. I have a debian chroot on a separate partition which sole purpose is apache2 server. I use apache2 in chroot, so everytime I reinstall my main system, all my projects are left there in this system untouched. The chroot was created with Debian's debootstrap. Now when I moved from Debian to Arch, I can't use this chroot. When I chroot into it I can't execute any command there, all I get is command not found, even on things such as ls, rm, mv.
    Does it mean that I have to create a chroot for server again, using Arch linux or is there a way to get this Debian working?
    Last edited by kox (2015-05-02 20:13:22)

    I don't think the `arch-chroot` script will work for a Debian system but I could be wrong.
    Have you tried mounting /proc, /sys & /dev first and sourcing the shell profiles afterwards?
    https://wiki.archlinux.org/index.php/Ch … ing_chroot
    This shouldn't make any difference as the chroot fstab should already have entries for these but you never know...
    Maybe you should copy /etc/hosts & /proc/mounts from your new Arch system into your Debian chroot.
    https://wiki.debian.org/Debootstrap
    @WorMzy -- the shell built-ins are not working so I don't think it's a $PATH issue.
    Last edited by Head_on_a_Stick (2015-05-02 19:41:44)

  • Error oracle.sql.* and oracle.jdbc.driver.* not found when using oracle as a database

    I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
    Please Advice!
    Thanks in advance
    AnuPama

    Hi Anupama,
    First of all I would be surprised if you would not like to use the connection pooling feature of weblogic (in which case you might not be needing the import the classes directly), and would like to open direct connections to your database. Anyways for doing that I would recommend you to check out the readme doc that ships
    along with the jdbc oracle (classes12.zip etc). I am giving an excerpt over here:
    These are a few simple things that you should do in your JDBC program:
    1. Import the necessary JDBC classes in your programs that use JDBC.
    For example:
    import java.sql.*;
    import java.math.*;
    2. Register the Oracle driver before before calling other JDBC APIs.
    (This is not needed if you are using the JDBC Server-side Internal
    Driver because registration is done automatically in the server.)
    To register the Oracle driver, make sure the following statement
    is executed at least once in your Java session:
    DriverManager.registerDriver(
    new oracle.jdbc.driver.OracleDriver());
    3. Open a connection to the database with the getConnection call.
    Different connection URLs should be used for different JDBC
    drivers. The following examples demonstrate the different URLs.
    For the JDBC OCI8 Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:oci8:@<database>",
    "scott", "tiger");
    where <database> is either an entry in tnsnames.ora or a SQL*net
    name-value pair.
    For the JDBC Thin Driver, or Server-side Thin Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:thin:@<database>",
    "scott", "tiger");
    where <database> is either a string of the form
    <host>:<port>:<sid> or a SQL*net name-value pair.
    For the JDBC Server-side Internal Driver:
    Connection conn = DriverManager.getConnection(
    "jdbc:oracle:kprb:");
    Note that the trailing ':' character is necessary. When you use
    the Server-side Internal Driver, you always connect to the
    database you are executing in. You can also do this:
    Connection conn
    = new oracle.jdbc.driver.OracleDriver().defaultConnection();
    Hope this helps,
    Thanks,
    Anupama wrote:
    I am using oracle as database and weblogic 4.5. I have copied the classes12.zip file in lib directory of weblogic. I am getting the error that oracle.sql.* and oracle.jdbc.driver.* not found when i am importing these packages in a jsp file. what i need to do to import oracle driver packages?I put it in the classpath also.
    Please Advice!
    Thanks in advance
    AnuPama--
    Apurb Kumar

  • Webutil bean not found when using call_form with no_share_library_data

    Hi,
    I have two Forms modules and i navigate from Form A to Form B using a call_form.
    If i call Form B with NO_SHARE_LIBRARY_DATA param, i get a webutil error: "oracle.forms.webutil.file.filefunctions bean not found"
    If i call it with SHARE_LIBRARY_DATA, there no error and my webutil function works as expected.
    Webutil is used in our application are works well so i don't think that it's webutil config problem.
    Any idea?
    Tx

    Thanks for your answer.
    Now I'am a little bit further with my debugging but it's more strange! forget the share_library_data...
    I start a common form with webutil.pll attached and i will use the Webutil_File.File_Exists function for example
    if i call it in the WNFI or WNBI, i get the error
    if i call it via a push-button WBP for example, it works!
    below the java console ouput when i get the error and after pushing ok on the error
    Loading http://sdp6:7778/sdp-jar_dev/frmwebutil.jar from JAR cache
    Loading http://sdp6:7778/forms/java/frmall_jinit.jar from JAR cache
    RegisterWebUtil - Loading WebUtil Version 10.1.2.2
    Loading http://sdp6:7778/sdp-jar_dev/hst65.jar from JAR cache
    Loading http://sdp6:7778/sdp-jar_dev/sdpimage.jar from JAR cache
    Loading http://sdp6:7778/sdp-jar_dev/host.jar from JAR cache
    Loading http://sdp6:7778/sdp-jar_dev/jacob.jar from JAR cache
    proxyHost=null
    proxyPort=0
    connectMode=HTTP, native.
    La version Forms Applet est : 10.1.2.2
    2008-janv.-10 18:02:24.711 WUI[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.727 WUI[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.727 WUF[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.727 WUF[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.743 WUH[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.743 WUH[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.743 WUS[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.743 WUS[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.758 WUT[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.758 WUT[SessionFunctions.init()] Max Transfer chunk size set to 4048
    2008-janv.-10 18:02:24.758 WUT[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.977 WUO[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.977 WUO[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.977 WUL[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.977 WUL[VBeanCommon.getIPAddress()] 172.22.35.17
    2008-janv.-10 18:02:24.977 WUB[VBeanCommon.findLocalHost()] obtaining LocalHost info from InetAddress
    2008-janv.-10 18:02:24.977 WUB[VBeanCommon.getIPAddress()] 172.22.35.17
    AFTER PUSH OK on the error
    2008-janv.-10 18:07:12.977 WUI[getProperty()] Getting property WUC_BEAN_VERSION
    2008-janv.-10 18:07:12.977 WUI[getProperty()] Value of WUC_BEAN_VERSION=10.1.2.2
    2008-janv.-10 18:07:12.993 WUT[setProperty()] Setting property WUC_SRV_LOGGING to 0
    2008-janv.-10 18:07:12.993 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.jacob.dll
    2008-janv.-10 18:07:12.993 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2008-janv.-10 18:07:13.08 WUT[loadSettings()] Local properties file loaded
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2008-janv.-10 18:07:13.08 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.JNIsharedstubs.dll
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2008-janv.-10 18:07:13.08 WUT[setProperty()] Setting property WUC_GET_LOCAL_PROPERTY to syslib.d2kwut60.dll
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Getting property WUC_GET_LOCAL_PROPERTY
    2008-janv.-10 18:07:13.08 WUT[getProperty()] Value of WUC_GET_LOCAL_PROPERTY=1.0
    2008-janv.-10 18:07:13.24 WUB[setProperty()] Setting property WUC_SRV_LOGGING to 0
    AFTER PUSH ON THE BUTTON THAT CALL THE SAME FUNCTION
    2008-janv.-10 18:07:34.758 WUF[setProperty()] Setting property WUF_FILENAME to c:\temp\1.txt
    2008-janv.-10 18:07:34.758 WUF[setProperty()] Setting property WUF_FILE_ATTRIBUTE to 1
    2008-janv.-10 18:07:34.758 WUF[getProperty()] Getting property WUF_FILE_ATTRIBUTE
    2008-janv.-10 18:07:34.758 WUF[getProperty()] Value of WUF_FILE_ATTRIBUTE=TRUE

  • JAXB 1.0 Final: jaxb.properties not found when using custom classloader

    JDK 1.3.1 is being used.
    The scenario:
    1) jaxb jar files, jaxb generated files and application files loaded in default class loader works, however
    2) jaxb jar files, jaxb generated files and application files loaded in a custom class loader generate the following exception:
    javax.xml.bind.JAXBException: Unable to locate jaxb.properties for package XXX
    To demonstrate here are two sample applications: a Launcher app whose job it is to start apps and a sample App1 application who needs JAXB.
    If launch is placed into a jar file named launch.jar and App1 is placed into a jar file named app1.jar (with a JAXB generated package), and both jar files are placed in a directory containing all the JAXB 1.0 jar files (dom, sax, namespace, etc) and the system is started with the following:
    jre\bin\java -cp launch.jar; testLaunch.launch
    the exception occurs.
    By way of comparison, if App1 is started directly with the following:
    jre\bin\java -cp app1.jar;jax-qname.jar;jaxb-xjc.jar;jaxb-ri.jar;jaxb-libs.jar;jaxb-api.jar;dom.jar;sax.jar;jaxp-api.jar;xercesImpl.jar;namespace.jar;ant.jar;xalan.jar testApp.app1
    the exception does not occur.
    Any help would be greatly appreciated.
    package testLaunch;
    import java.net.*;
    import java.io.*;
    public class launch extends javax.swing.JFrame
        private static URLClassLoader app1ClassLoader_; 
        private static Class  app1EntryClass_ = null;
        private static final String app1MainClassName_ = "testApp.app1";
        private Object appObj_ = null;
         static public void main(String args[])
              try {
                System.out.println("Launch Main");               
                new launch();          
                  System.exit(0);
              catch (Throwable t) {
                   t.printStackTrace();
                   System.exit(1);
         public launch()
            if (app1ClassLoader_== null)
                loadAppClassLoader();
            try{
                if (app1EntryClass_ == null)
                    app1EntryClass_ = app1ClassLoader_.loadClass(app1MainClassName_);
                if (app1EntryClass_ == null)
                    System.out.println(app1MainClassName_ + " was not found");
                else
                    appObj_ = app1EntryClass_.newInstance();
            catch(ClassNotFoundException x){
                x.printStackTrace();
            catch(Exception x){
                x.printStackTrace();
        private static void loadAppClassLoader()
            String jarPath = jarPath = System.getProperty("user.dir");
            System.out.println("jar path is: " + jarPath);
            try{
                File jarfile1 = new File(jarPath+File.separator+"app1.jar");
                File jarfile2 = new File(jarPath+File.separator+"dom.jar");
                File jarfile3 = new File(jarPath+File.separator+"jaxp-api.jar");
                File jarfile4 = new File(jarPath+File.separator+"jaxb-api.jar");
                File jarfile5 = new File(jarPath+File.separator+"jaxb-xjc.jar");
                File jarfile6 = new File(jarPath+File.separator+"jaxb-ri.jar");
                File jarfile7 = new File(jarPath+File.separator+"jaxb-libs.jar");
                File jarfile8 = new File(jarPath+File.separator+"jax-qname.jar");
                File jarfile9 = new File(jarPath+File.separator+"sax.jar");
                File jarfile10 = new File(jarPath+File.separator+"xercesImpl.jar");
                File jarfile11 = new File(jarPath+File.separator+"namespace.jar");
                File jarfile12 = new File(jarPath+File.separator+"xalan.jar");
                File jarfile13 = new File(jarPath+File.separator+"ant.jar");
                if (!jarfile1.exists())
                    System.out.println("**ERROR " + jarfile1 + " does not exist!");
                app1ClassLoader_ = new URLClassLoader( new URL[]{jarfile1.toURL(),
                                                                jarfile2.toURL(),
                                                                jarfile3.toURL(),
                                                                jarfile4.toURL(),
                                                                jarfile5.toURL(),
                                                                jarfile6.toURL(),
                                                                jarfile7.toURL(),
                                                                jarfile8.toURL(),
                                                                jarfile9.toURL(),
                                                                jarfile10.toURL(),
                                                                jarfile11.toURL(),
                                                                jarfile12.toURL(),
                                                                jarfile13.toURL()} );
            catch(Exception x){
                x.printStackTrace();
                return;
    package testApp;
    import javax.xml.bind.*; // JAXB classes
    import myGeneratedJAXBFiles;
    public class app1 extends javax.swing.JFrame
         static public void main(String args[])
              try {
                System.out.println("App1 Main");               
                new app1();           
                  System.exit(0);
              catch (Throwable t) {
                   t.printStackTrace();
                   System.exit(1);
         public app1()
            try
                JAXBContext jc_ = JAXBContext.newInstance( "myGeneratedJAXBFiles" );
                System.out.println("Successfully loaded JAXB Context");          
            catch (JAXBException jbe)
                jbe.printStackTrace();

    I'm doing something very similar. In fact my launcher is also stored in launcher.jar. It will start any application on the classpath and load dependencies jars located in the specified directory.
    The first thing you must do is specify the classloader when constructing the jaxb context:
    JAXBContext jc = JAXBContext.newInstance(xmlPackage, getClass().getClassLoader());
    After this I was still raning into the "jaxb.properties not found" exception in some situations. Basically if the class using the jaxb files is located in the same jar as jaxb.properties everything worked fine. However if the class using the jaxb objects was located in a different jar it did not work.
    I had to add the following early in the execution of the application that load the plugins to get things working correctly:
    Thread.currentThread().setContextClassLoader(jarDirClassLoader);
    As far as I can tell JAXB using the Context class loader to find the jaxb.properties file.
    I'm using JAXB 1.1
    I hope this helps!

  • Fonts not found when using Xvfb

    Hi all,
    I keep encountering "fonts specified in fonts.properties not found" whenever I execute rwserver.sh server=XXX.
    fyi, I'm running Solaris8 on Sun SPACE machine. I use Xvfb downloaded from Oracle to allow report server to run after I logoff from the session. I realised that the report sever I created manually will die prematurely if I log out from the session when I use the "default" Xserver provided by Solaris.
    And prior to running rwserver.sh I set the DISPLAY such DISPLAY=:1.0; export DISPLAY.
    pls advise.

    I get the same errors on my Solaris system with xvfb, but it doesn't keep anything from working. My reports server comes up and works fine.

  • Error 48: File or folder not found when using photomerge panorama - imac photoshop elements 10

    Any help is appreciated.  Followed the photomerge panorama instructions and got error 48: file or folder not found.....line 16 ...
    using photoshop elements 10 on imac with OSX 10.8.2
    Thx

    Have you recently updated your Operating system? Please try repairing permissions for your hard disk.
    Please check the help document to know more about repairing permissions http://helpx.adobe.com/x-productkb/global/error-licensing-stopped-mac-os.html#main_Solutio n_3__Repair_Disk_Permissions

  • E71 GPS 'route not found' when using device only s...

    Hi, earlier today I was getting help to not get AT&T network data charges.  I have set everything up per direction but now when I try to search for something and navigate to it I get 'Route not found'.  Any ideas how to fix this?
    Solved!
    Go to Solution.

    Start with a simple and obvious search string. If you give us an example of a search string that did not work we could have a look at it for you.

  • File not found when using write characters to file

    OK, I am missing something really basic here.  Whenever I try to use the Write Characters to File function, if I try to give it a path beyond the C:\filename directory, it returns an error.  In other words, C:\Dan works, but C:\Dan\Test reurns an error. WHAT am I missing?

    Bingo! That is the problem. You have to make sure the directory exists before you attempt to write files to it.
         BTW: In LV there is a function for creating folders programatically. A good way to see if a directory exists is to attempt to list its
                   contents. If the list function returns an error, the directory doesn't exist and you have to create it.
    So make use of the error that the file write returns. If you get an error, start at the root of your path and test to see if each level exists, and if not create it. When you have all the folders in place repeat the file save.
    Mike...
    Message Edited by mikeporter on 05-24-2007 12:55 AM
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Class not found when using JvmModelInferrer

    I am trying to transform one of my language elements to a class using the ModelInferrer approach. This generated class should extend a class (AbstractMatcher) from an external project. The external project is added to the build path of the Xtext model project as an external class folder and to the run-time project in the same way. It should be noted that the external project is a plug-in built in Helios SR1. I am able to reference the AbstractMatcher class from the xtend source code (it is available for auto complete and imported correctly), but when I start runtime eclipse, I get a java.lang.NoClassDefFoundError when trying to add a superType to the generated class. If I substitute the AbstractMatcher with a dummy like java.util.ArrayList everything works fine. I have tried to make a simple Java class inside the runtime Java project and reference the AbstractMatcher from it and this also works fine. Everything seems to be able to find the offending class except the ModelInferrer.
    import external.package.AbstractMatcher
    def dispatch void infer(Matcher matcher, IJvmDeclaredTypeAcceptor acceptor, boolean isPreIndexingPhase) {
    acceptor.accept(matcher.toClass("matchers." + matcher.name.toFirstUpper + "Matcher")) [
    superTypes += typeRef(AbstractMatcher) // <---exception here
    Stack trace:
    java.lang.NoClassDefFoundError: org/talend/designer/xmlmap/figures/treetools/zone/matchers/AbstractMatcher
    at org.xtext.example.mydsl.jvmmodel.MyDslJvmModelInferrer$1.apply(MyDslJvmModelInferrer.java:78)
    at org.xtext.example.mydsl.jvmmodel.MyDslJvmModelInferrer$1.apply(MyDslJvmModelInferrer.java:1)
    at org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator$1.run(JvmModelAssociator.java:397)
    at org.eclipse.xtext.xbase.jvmmodel.JvmModelAssociator.installDerivedState(JvmModelAssociator.java:407)
    at org.eclipse.xtext.resource.DerivedStateAwareResource.installDerivedState(DerivedStateAwareResource.java:240)
    at org.eclipse.xtext.xbase.resource.BatchLinkableResource.getContents(BatchLinkableResource.java:148)
    at org.eclipse.xtext.xbase.typesystem.internal.LogicalContainerAwareBatchTypeResolver.getEntryPoints(LogicalContainerAwareBatchTypeResolver.java:44)
    at org.eclipse.xtext.xbase.typesystem.internal.DefaultBatchTypeResolver.getTypeResolver(DefaultBatchTypeResolver.java:63)
    at org.eclipse.xtext.xbase.typesystem.internal.CachingBatchTypeResolver$1.get(CachingBatchTypeResolver.java:49)
    at org.eclipse.xtext.xbase.typesystem.internal.CachingBatchTypeResolver$1.get(CachingBatchTypeResolver.java:1)
    at org.eclipse.xtext.util.OnChangeEvictingCache.get(OnChangeEvictingCache.java:77)
    at org.eclipse.xtext.xbase.typesystem.internal.CachingBatchTypeResolver.doResolveTypes(CachingBatchTypeResolver.java:46)
    at org.eclipse.xtext.xbase.typesystem.internal.AbstractBatchTypeResolver.resolveTypes(AbstractBatchTypeResolver.java:69)
    at org.eclipse.xtext.xbase.resource.BatchLinkingService.resolveBatched(BatchLinkingService.java:71)
    at org.eclipse.xtext.xbase.resource.BatchLinkableResource.resolveLazyCrossReferences(BatchLinkableResource.java:165)
    at org.eclipse.xtext.EcoreUtil2.resolveLazyCrossReferences(EcoreUtil2.java:528)
    at org.eclipse.xtext.builder.clustering.ClusteringBuilderState.doUpdate(ClusteringBuilderState.java:234)
    at org.eclipse.xtext.builder.builderState.AbstractBuilderState.update(AbstractBuilderState.java:115)
    at org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:248)
    at org.eclipse.xtext.builder.impl.XtextBuilder.incrementalBuild(XtextBuilder.java:228)
    at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:123)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:734)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:206)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:246)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:299)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:302)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:358)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:381)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    I sense that this is actually an OSGi problem, since I see this is how typeRef tries to find the reference, but I don't know how to get around it. I am not able to add the external plugin containing the AbstractMatcher class as a dependency and I'm not sure if it would be possible due to different Eclipse versions (Helios vs Luna).

    On 13.07.15 12:39, Zeljko Vukovic wrote:
    > but when I start runtime eclipse, I get a java.lang.NoClassDefFoundError
    > when trying to add a superType
    Does it work for you if you refer to the AbstractMatcher from Java-code
    that is in a project in the runtime instance?
    Best,
    Sebastian

  • Bash: command not found after piping

    Hi,
    I'm trying something quite commonly found in an Unix environment, namely piping the output of one command into the input of a subsequent one, eg.
       bash$ ps ax | grep -i bash
    But unfortunately I'm receiving--and now comes the most curious part--most of the times (not always!!) an error message
       bash: grep: command not found
    When calling grep directly
       bash$ grep
    the resulting output is
       Usage: grep [OPTION]... PATTERN [FILE]...
       Try `grep --help' for more information.
    "which"-ing the commands
       bash$ which bash ps grep
    results in
       /bin/bash
       /bin/ps
       /usr/bin/grep
    Cheers,
    MMHein

    Good, you tried a different shell.  sh and bash are essentially the same executable on Mac OS X.
    Did you try a new user account?  What were those results?
    Have you tried installing your own bash?  Either build from sources, or use something like MacPorts.org to install one already configured for Mac OS X.
    You also have ksh and zsh if they happen to rock your boat (see /etc/shells for a list of installed shells).
    I think both Linc an dI agree that we have never seen this situation before either, which is why we suspect something has become corrupt.  The "Nuke and Pave" approach tends to eliminate that possibility.  But since you have lots of Unix experience (even though you missed a few Unix flavors ), and want to find the root cause, then you need to start doing tests that eliminate components.
    The shells on my Mac OS X 10.7.2 Lion system have the following chksum's
    cksum /bin/*sh
    188949626 1371648 /bin/bash
    1672788767 772992 /bin/csh
    4164734636 2180736 /bin/ksh
    1711289041 1371712 /bin/sh
    1672788767 772992 /bin/tcsh
    2366092939 1103984 /bin/zsh
    I would expect yours to be identical.  But that does not take into account any libraries used.  And if you have the same values, then you need to look at something else (again, a new account can go a long way to eliminating things in your environment, or pointing to a system component).

  • -bash: then : command not found

    Hi
    Sorry i have post the same problem in Infrastruture but i am not getting a quick reply.Thats why i am posting this in the database thread.
    I have installed OEL 5.I am going to install Oracle 11g.I have configured Kernel for oracle.But now when give the command su - oracle there is an
    -bash: then : command not found
    -bash: : command not found
    When i give su - then also same these lines appear.Please send me a solution.
    Will this give nay problem in database installation
    Regards
    Bobby

    user12119634(bobs) wrote:
    Hi
    Sorry i have post the same problem in Infrastruture but i am not getting a quick reply.Thats why i am posting this in the database thread.
    I have installed OEL 5.I am going to install Oracle 11g.I have configured Kernel for oracle.But now when give the command su - oracle there is an
    -bash: then : command not found
    -bash: : command not found
    When i give su - then also same these lines appear.Please send me a solution.
    Will this give nay problem in database installation
    Regards
    BobbyTry
    export PATH=/bin:$PATHthen do again

Maybe you are looking for

  • Iphoto 11 keeps crashing on start up.

    It had been working OK for a while.  Now, before I can begin to use it, I get a repeated message it needs to rebuild my library--then crashes. Again and again.   I have the latest Mac OS.  What now?

  • AS Stops working correctly

    I am helping someone edit a template that they purchased. The original file had 6 buttons, and when you move over a button the buttons below it shift downward. I figured out the code enough to add more buttons. Each button had to be named a number in

  • Page not appearing properly

    The bottom portion of pages is not loading properly. Ie: Cntrl+F or bottom of facebook chat windows are only slightly showing. So, help?

  • Map ID problems

    Hi Folks, I need to create Map IDs to new topics. The ID and updated hm file were provided by the developer. I did the following steps: 1. Under Project, right-click Alias and click New Alias. 2. In the alias box, click type to ID as found in the hh

  • How to know how many equipments can be produced?

    Hello friends, One equipment is having bill of material.  How to know how many equipments can be made with the stores stock? How to know for making min. no. of materials reqd for making optimum no. of equipments? bye, srinivas.