Ubuntu :: Setup Jde With Emacs - Find My Jdk Path And Verison To It?
Feb 2, 2011How do i setup jde with emacs and how do i find my jdk path and verison to it?
Here the link i try to found.
[url]
How do i setup jde with emacs and how do i find my jdk path and verison to it?
Here the link i try to found.
[url]
I am currently interested in switching from vim to emacs.One of the more compelling reasons for this is the smooth integration with a unix environment. The most experienced emacs users I have seen have a bash prompt at the bottom of their window, with stdout going to a buffer right above it. They then interact with the output of programs such as grep in interesting ways.I am on Ubuntu 10.04 and the default emacs environment does not seem to do much for me in the way of integration. For example, in the M-x shell mode, output from basic commands like ls produce lots of strange characters and hitting the up arrow does not go to previous commands.
View 4 Replies View RelatedI have looked in all the usual places but cannot find emacs or xemacs... Does this mean I have to install it manually??
View 5 Replies View RelatedThe default Emacs on Mac OS X, 22.1, appears to have some problems with the info/help stuff.
When you hit C+h i, it says:
Can't find the Info directory node.
It works in AquaEmacs, but I downloaded the 23 version of emacs precompiled binaries from here and I still have the same problem.
kernel 2.6.21.5, slackware 12.0
GNU bash 3.1.17
Code:
As you can see, /usr/local/bin is in the path. However, bash does not look for nasm in /usr/local/bin.
If I am root, things go well:
Code:
I was using the following code in my .emacs file to start emacs maximized:
Quote:
(defun toggle-fullscreen ()
(interactive)
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
'(2 "_NET_WM_STATE_MAXIMIZED_VERT" 0))
(x-send-client-message nil 0 nil "_NET_WM_STATE" 32
[Code]...
One of my colleague ran into trouble with setting up of path variable.
Earlier the entry for PATH in /etc/profile was:
Code:
Now what he mistake is:
He added a new Lines at the end as
Code:
Now due to this he is unable to run commmands now because that has overwritten the earlier PATH varaible.
If he types now:
It shows:
Code:
I want to set up a PDC on my computer using Samba without LDAP, etc. The only thing I need is to share folders between the two ridiculous computers here. I got a 11.3 laptop and this 11.4 desktop. This is the /var/log/samba/log.smbd extract:
Code:
[2011/06/11 08:29:35, 0] lib/fault.c:250(dump_core_setup)
Unable to setup corepath for smbd: Permission denied
[2011/06/11 08:29:35, 0] smbd/server.c:1134(main)
smbd version 3.5.7-1.17.1-2505-SUSE-SL11.4-x86_64 started.
Copyright Andrew Tridgell and the Samba Team 1992-2010
[2011/06/11 08:29:35.951937, 0] passdb/secrets.c:73(secrets_init)
Failed to open /etc/samba/secrets.tdb
[2011/06/11 08:29:35.954910, 0] passdb/secrets.c:73(secrets_init)
Failed to open /etc/samba/secrets.tdb
[2011/06/11 08:29:35.955027, 0] smbd/server.c:1234(main)
ERROR: smbd can not open secrets.tdb
This is the /var/log/samba/log.nmbd extract:
Code:
[2011/06/11 08:27:48.682275, 0] nmbd/nmbd_become_lmb.c:395(become_local_master_stage2)
Samba name server ANTARES is now a local master browser for workgroup XXXXXXXX.WORLD on subnet
[2011/06/11 08:28:08.700572, 0] nmbd/nmbd_serverlistdb.c:343(write_browse_list)
write_browse_list: Can't open file /var/lib/samba/browse.dat.. Error was Permission denied
I have modified in Yast the User Authentication Source to smbpasswd and specified the correct path to the file...
This is the /etc/samba/smb.conf extract:
Code:
passdb backend = smbpasswd:/XXXXXXXX/smbpasswdfile
I erased all the samba related configuration files, uninstalled samba cli/ser samba-yast cli/ser and reinstalled, reconfigured and still have same issue. It worked very well with 11.1... (I clean installed 11.4 yesterday). I thought take sources from samba, compile and then see if it works...
I am trying to install Staden on a Ubuntu 10.04 machine (64bit). It requires a number of dependencies to be installed prior to configuring the source. I was fortunate to find all of them using the synaptic package manager. now for the configure command I need to specify where these dependencies are as options.
how do I find the programs that I need to reference as options to the configure command such as: tcl, tk, zlib, xz utils, libpng, curl, tklib, itcl, itk, etc. Is there a standard directory that synaptic uses or what?
I edited /etc/profile to look like:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
[code]....
When i type env, it just shows: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin It also shows JAVA_HOME, CLASSPATH and others were set up. Trying to get updatetool in glassfish usable for any user and during any session. I did the export command in a shell, and it worked, but not after closing the session. how to do environment variables.
I am creating one bash script name as pathsetup.sh.
In that , I am trying to setup a path to my user profile. S my script content is as follows,
pathsetup.sh contains,
#!/bin/bash
MY_PATH=/home/arun/NS3/ns-3.9/build
export PATH=$PATH:$MY_PATH
echo "$PATH"
If I run the script, when run time it shows the MY_PATH added to PATH.
But, when I check it in terminal after run, it doesn't add the PATH.
if I put echo $PATH in terminal, it show old path.
How can I add path permanently to a user.
I read, ~.bash_profile , we can add the path permanently for a user.
But, I want to add MY_PATH for a specific time. I don't want any user change the file .bash_profile each time.
Just running the pathsetup.sh script, MY_PATH should be added to the user PATH.
Instead of .bash_profile, using shell script, can it possible to add path permenetly for a user.
Here's my scenario:
I want it so any inbound traffic from dsl goes back out the dsl and same for rogers. I've been searching and playing with many docs with no luck.
Anyone know how I do this? The multiple routes are on the same device br0. (which I think is causing all my havoc)
In RHEL5, the PATH of root is /sbin and /usr/sbin...., the PATH of common user has not /sbin or /usr/sbin, how to give the /sbin and /usr/sbin to a common user when he run command which sudo?
View 3 Replies View RelatedI mean I have a folder on my root /share and I want to find out how much free space do I have left on the hdd, problem is I have 4 HDD and I don't know if /share is mounted on / or where ..... what is the command line?
View 2 Replies View RelatedI am using VLC to capture video from my webcam. So to set the video device I use /dev/video0 (built in webcam), but I need to specify the path to the built in mic and I can't find what that path is. If it help any, it seem my system is configured to use pulse audio instead of alsa. Is there any script to run to find where my mic is "pathed" at? arecord -l returns this:
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog]
Subdevices: 1/1
[Code]....
I'm writing a script that tidies up my system before it shuts down.
One of the things I would like it to do is clear my Trash..
Code:
But I can't find the path to the trash. Anybody know where it is?
I have ubuntu 8.10. In this I could find the binutils, gcc are installed. But when ever I try to know that glibc, glibc-linuxthreads are installed are not. It showing that no package is found. For that I have downloaded glibc-2.3.3.tar.gz, glibc-linuxthreads-2.3.3.tar.gz.I want to install these two package.i dont know where to install as am novice to linux.
View 1 Replies View Relatedjust trying to copy a cd to ogg.. can see the music.. can see the burner gui..its asking for the path to the cd right click on the cd icon.. nothing.look in the 'computer' section of places.. useless.look in a load of folders, where it may be.. nothing.
View 2 Replies View RelatedAssume I call a certain tool in terminal like
foobar -myoption
But a) there exists more than one installation of "foobar" on the system or b) I don't know where "foobar" is installed.
How can I find out WHICH foobar resp. WHICH path belongs to the currently active foobar tool?
I prefer a cmdline command with option similar to:
findactivepath -tool=foobar
....
Output: Used location=/usr/bin/foobar
I don't want to dig around with PATH investigations by searching every PATH component. Furthermore I don't want to get recommendations and expectations like "normally tools are installed in...". Think of unusual installed software.
On Unix I can call certain programs from everywhere, like sort, pwd or my_custom_script.sh. How can I find out, where on the system my_custom_script.sh really resides?
View 2 Replies View RelatedI'm using bash scripting to find any file that matches a path governed by the following regular expression:
"(monthly|nightly).[0-9]+/home/(user1|user2)/.mailbox/"
to match files like:
monthly.9/home/user1/.mailbox/l23131564
nightly.15/home/user2/.mailbox/cur/6546213
I've tried:
Code:
myRegex="(monthly|nightly).[0-9]+/home/(user1|user2)/.mailbox/"
find ./ -regextype posix-egrep -regex $myRegex
and it just spins and never gives me an answer, even though the file structure isn't that big.
I have this weird problem. The other day I asked a question about restore the backup file after dual boot installation. I have done the dual boot ( XP installed first) then restored the backup file. Now the problem is that I forgot if I excluded system files from backup or not, so when I restored and rebooted, my installations got messed up, many programs do not find their path to run, etc. But the real problem is when I rebooted again, I got error 15: file not found tried to follow some other posts here to solve this and noticed that running fdisk -l gives me:
[Code]....
I installed a new program called the "Android Notifier Desktop 0.2.1" and within the program it say to use the systems startup manager to start the program with every system boot.I have no idea where to begin looking for the programs file and main start up link.
View 9 Replies View RelatedI'm using Ubuntu 9.10 and previously had a separate partition with another distro on it. I decided to delete the other distro's home and swap partitions and install XP in place of it. I've been following these instructions: [URL] and [URL] I have gotten to the point where I am booting to the XP CD and want to install it, but I get the message, "Setup did not find any hard disks installed on your computer" when I should be getting to the screen that asks me to select a partition to install XP on. This is what my HDD looks like in GParted:
I want to install XP in the unallocated partition, but I have a feeling I screwed up somewhere along the way and probably don't fully understand the whole thing. Even if I try to format the unallocated partition to NTFS I can't make it a primary partition (I assume because it's within sda2). The very last thing I want to do is delete my Ubuntu partition and start from scratch, but if that's my last option let me know.
I am running Debian Squeeze, 64-bit.I would like to try my hand at bash scripting. So at the author's suggestion (first chapter of Chris F. A. Johnson, Pro Bash Scripting from apress) I created a /bin directory in my home directory. So now I would like to modify my PATH statement so that when I run a script from my bin directory my shell will find it.I did that. He then says that I should add this to ".bash_profile, .bashrc, or .profile depending on how bash is invoked." The find command is unable to locate any of these files. So I searched the forum, found the link above and tried to follow that. No luck so I assume that how Debian handles PATH statements has changed since that post?
I also have checked the wiki and worked Google as hard as I know how to do.Very simply where the heck is my PATH statement and how do I modify it?
How can I find the lynx location path on my server via SSH
View 2 Replies View RelatedI need a command to search for any file in a directory like so:
/home/*/upload/* and then change permissions any file in that directory.
Find doesn't seem to match what I need.
a new hardisk and a reinstall later I find myself face with 2 problems now. firstly I followed, [URL]... which seemed to work fine, accross the network I can "see" all the workgroup computers. Now try login to karmic's or (other linux box) jaunty, can't find network path. tried turning off the firewalls, still no go. the two linux boxes can chat merrily, and the 2 windows boxes can chat, but to each other. however after fidling a bit , on karmic i now get
Quote: Could not display "network:///" Nautilus cannot handle "network" locations
so firstly how do i reinstall everything, the how deal with windows.
I found the following function in /etc/profile file.
[Code]...
1. I dont undestand what "if ! echo $PATH | /bin/grep -qE "(^|:)$1($|:)"" this if statement actually comapres??
2. Also what is the difference between PATH=$PATH:$1 & PATH=$1:$PATH
I am using json library for my application. I have mentioned the path where the library resides in the LD_LIBRARY_PATH. while compiling i have given the following commands.
gcc -o pafitest pafi_test_app.o -ljson
but still i am getting this following error.
/usr/bin/ld: cannot find -ljson
collect2: ld returned 1 exit status