I have a question about Jmeter on MAC.
1. I got new computer and try to download Jmeter, all the downloads from apach is not opened.
2. I somehow managed via guide on net to download Jmeter 3.1, but in mac how I find the lib folder? and the EXT folder, this is much more harder than in win computer, I am new in mac and not understand where to put jars
Step 1 : Got to Jmeter site and download binaries . Here . After this Unzip at some preferred location.
Step 2 : Once downloaded , open ur terminal in MAC. Got to the location where the Jmeter is. See the bin folder. Go inside it. Then type sh ./jmeter.sh . Basically the bin folder have jmeter.sh file which executes it.
You need not install any Jmeter. This approach works fine. Also, make sure you have java installed. IF you are not sure, Here Note that you must have Java 8 or Java 9 for Jmeter 4. Any specific reasons why use Jmeter 3.1 ?
Download latest Java for Mac from Oracle website
Double click the .dmg and follow installation wizard steps
Download JMeter version of your choice from https://archive.apache.org/dist/jmeter/binaries/. Keep in mind that according to JMeter Best Practices it is recommended to use the latest version of JMeter
Unpack JMeter and open its "bin" folder in Terminal
Run JMeter as ./jmeter
"lib" folder will be in its usual location
If you installed JMeter 3.1 using i.e. Homebrew, you will find "lib" folder under
/usr/local/Cellar/jmeter/3.1/libexec/lib/
You may also find How to Open JMX Files on a Mac in 1 (Double) Click guide useful - it contains instructions how to associate JMeter with .jmx files on Mac so you will be able to open them by just clicking them in Finder.
On Mac, download the latest JMeter 4.0 tar.gz file and expand it.
Install Java 8 and you'll be able to run it.
Alternatively you can use Homebrew as described here:
https://www.ubik-ingenierie.com/blog/using-homebrew-to-install-and-configure-jmeter-under-mac-osx/
while i am running
java -jar fmw_12.1.3.0.0_soa_quickstart.jar
I am executing this command from where my JDK is installed.
Error Message : This installer must be executed using java development kit (JDK)
but C;/program filed /jre is not a valid JDK.
Kindly help.
Oracle Fusion Middleware 12c (12.1.3) requires a minimum of JDK 7.0 Update 55 or later. If you have an older version please update the JDK.
Let’s say your JDK is installed in:
C:\Program Files\Java\jdk1.7.0_xx
Search for cmd.exe in the Start menu. Right-click the cmd.exe and select Run as Administrator. In the prompt run the following command to set the JAVA_HOME:
SET JAVA_HOME="C:\Program Files\Java\jdk1.7.0_xx"
Using the command prompt, navigate to the directory where you unzipped the jar files.
Launch the installation wizard with the appropriate command.
%JAVA_HOME%/bin/java.exe -jar fmw_12.1.3.0.0_soa_quickstart.jar
For details about the installation refer to the official oracle documentation here
Install jdk8. Set JAVA_HOME to the installed jdk8. Navigate to %JAVA_HOME\bin.
Run java -jar complete_path_of_dir\fmw_12.1.3.0.0_soa_quickstart.jar.
Did you check that you're unpacking a jar file which contains another jar file? Firstly, unzip the jar file and then execute the contained jar file.
open your command prompt in admininstrative mode and change your directory to the bin directory of jdk(must be this path- C:\Program Files\Java\jdk\bin).
Now from this directory, install the soa installer(.jar file) by giving its complete path. In my case, I had my soa installer in *E:* drive, so my command was like this:-
C:\Program Files\Java\jdk1.8.0_131\bin>java -jar E:\fmw_12.2.1.0.0_soa_quickstart.jar
in a simple way go to jdk bin folder and execute the following, shoot this command from my jdk\bin location:-
C:/Program Files\Java\jdk1.8.0_131\bin>java -jar d:\fmw_12.2.1.0.0_soa_quickstart.jar
note: make sure you logged in as a admin user
Even I faced the same issue when installing oracle fusion middleware, but i resolved it by following steps:
Open command prompt by right clicking 'Run as administrator'.
Install the latest JDK version.
Change the directory where your weblogic's .jar file is present like
cd C:\Users\Ashwini_SP\Documents\Softwares\Jdeveloper_OSB\fmw_12.2.1.2.0_soaqs_Disk1_1of2
now select the jdk path and install it
"C:\Program Files\Java\jdk1.8.0_144\bin\java.exe" -jar fmw_12.2.1.2.0_soa_quickstart.jar
I was trying to install jdeveloper12.1.2 which i downloaded from oracle web site but when I was trying to install it i got this error CMD property not found in autorun.inf.
Installation of 12 c is not same as 11g . We are acquainted with the direct running of installer or .exe file in 11g but for 12 c the process is bit different. I search various answer but none of answer worked perfectly .
Here I will guide you with simple steps, just follow below steps patiently.
Download the installer file and unzip to a directory (Here I have unzipped to D:\Software1).
After unzipped u will find a folder named Disk1.
Open your command prompt with admin privilege.
Go to folder Disk1 by using command cd Software1\Disk1
Run the command C:\"Program Files (x86)"\Java\jdk1.6.0_38\bin\java.exe -jar install/modules/ora-launcher.jar DISKCNT=1 JRE_COMPONENT=oracle.jdk,oracle.jre
Give your JDK path .. on previous command I have given mine.
Then follow wizard instructions for jdeveloper studio edition.
I have attached image for the command prompt, Please follow it
I recently installed the springsource tool suite plugin for eclipse, running on windows 7. But when I open a command prompt (by typing cmd in the windows start menu) and type in:
mvn --version
I get the following response:
'mvn' is not recognized as an internal or external command, operable program, or batch file.
So I then downloaded the stand-alone version of springsource tool suite, which is not what I want. And nonetheless, I still get the same response on the command line when I type in mvn --version. Can anyone tell me how to fix this problem?
I get the same response when I type in java -version . So this might be a command prompt problem. I a following the exact syntax from web tutorials.
EDIT:
I just tried to download m2e in the eclipse marketplace, but got the message that there is nothing new to install. This seems to indicate that I have maven installed, so then how do I access it via the command line in windows 7?
You have to configure your Maven environment variable to be able to use it in the command prompt.
In your case there's no need to download the maven binars because it comes with STS, just find the Maven folder inside the STS directory.
"___" is not recognized as an internal or external command
is shown when program is not installed or the path of that program is not set (to execute from other path).
remember, in "STS", maven is not configured to work out of STS (and terminal usage is out of STS usage).
we have to install it.
maven download link is here
download latest maven from here
extract it where ever you want.
i extracted as below (see the bin,boot,conf,... folders are shown below as in the image):
as this maven download is extracted from zip file (it is not setup), you will have to add this extracted path to "PATH" variable in windows environment.
follow this to set environment path:
now "mvn" command must work.
but
in my case i had to restart STS (spring tool suit) for this to work
I just download Android Studio for Windows 7, the wizard went ok up to the end but now when I click on the shortcut or on the .exe to start the program nothing happens, no error, no new window, it's seems like it is doing nothing. Do you have any suggestion?
It's a bug of Android Studio 0.1v
You should add JAVA_HOME to the system environment variables.
http://tools.android.com/knownissues#as0.1
Open Start menu > computer > System Properties > Advanced System
Properties
In the Advanced tab > Environment Variables, add new system
variable JAVA_HOME that points to your JDK folder, for example C:\Program Files\Java\jdk1.7.0_21
Install latest Java Development Kit.
Set path in system variables for Java (ie *C:\Program Files\Java\jdk1.7.0_21\bin*)
Set JDK_HOME system variable (ie *C:\Program Files\Java\jdk1.7.0_21*)
If not working, set JAVA_HOME in system variable too (ie *C:\Program Files\Java\jdk1.7.0_21*)
If not working, check if you don't have spaces at the ends of the lines in system variables (PATH, JDK_HOME, JAVA_HOME)
You don't have to restart computer after changing system variables, just reload command prompt (if you are using it).
If it still not working, you probably have java.exe in C:/Windows/System32/. Rename it, restart command prompt and type java -version to check if you are using correct version of JDK.
I've posted tutorial how to fix Android Studio with screenshots on my blog.
I have had a similar problem with Android Studio 1.0 in windows 7 x64. When I ran studio64.exe it flashed the android studio logo and it disappeared immediately. Also I tried
studio64.exe > error.log
to figure out possible errors. JAVA_HOME=C:\Program Files\Java\jre1.8.0_25 environment variable was correctly setted.
Finally I decided to uninstall all Java versions (I had a mess of different java versions installed), both jdk and jre and reinstalled last version jdk 1.8.0_25. My problem was solved.
Regards,
Sometimes it might get stuck in memory. Open task manager, terminate android stuido. Open it up again.
If you install new the version of android studio.
It requires new jdk 1.8.
Just install the latest jdk 1.8 and android studio will work without the need to manually edit any environment variables.
You have to add a new system variable named ANDROID_STUDIO_JDK or JDK_HOME with the path to your JDK install folder, such as C:\Program Files\Java\jdk1.7.0_21\
I had the same exact problem and did try to do every thing manually nothing worked except for this command when I finished it finally launched. Open CMD with administrator if possible then put the following command:
set path="$PATH":C:\Program Files\Java\jdk1.7.0_21\bin
Then just try to launch it should work.
This is the only thing that worked for me.
Make sure you have Java 1.8 (JDK) or higher and update java_home and path to this version.
I did every tips but i checked AS requirements and updated jdk do 1.8.xx
It's possible there is a problem with your username (and name of the user folder). It shouldn't contain non-latin letters.
I had solved my problem (no response to an attempt to run Android studio) when I tried running the application as another Windows user (with name that consists of English letters only)
I got the same problem, but with no error message.
I found a studio.bat file and dig in it. There, I found some tips:
I found out thet the variable suggested in a previous post is incorrect.
ANDROID_STUDIO_JDK is no good.
STUDIO_JDK is the one.
Also, just to make the things/solution worst to corner,
I've uninstalled jre and jdk then reinstall jdk only.
The setup variables are like this:
JAVA_HOME is now pointing to C:\Program Files\Java\jdk1.8.0_172\bin
JDK_HOME is pointing to C:\Program Files\Java\jdk1.8.0_172
STUDIO_JDK is pointing to C:\Program Files\Java\jdk1.8.0_172
It's a mess but it's working...
Is it because I uninstalled/reinstalled java sdk and jre? or just the env. variables? who knows :)
Specs:
i5 with 4gig ram
win 10 32bit
In addition to following the steps pointed out by Tigris I also had to run the Android Studio with Administrative rights. Not sure why but I just made it in a few minutes ago.
Follow the steps here: http://tools.android.com/knownissues#as0.1
Run Android Studio as Admin
There is Another Issue
http://tools.android.com/knownissues
open a "cmd.exe" (command prompt), cd to the android-studio\bin folder and run "studio.bat". You will most likely see an error: for example b/55267 is about the option -XX:+UseCodeCacheFlushing not being recognized. Report the error, remove the line from the studio.exe.vmoptions or studio64.exe.vmoptions and it should now work.
There could be a process still running in the background that would need to be killed in the task manager. The name of the process is studio64.exe (at least that's the name on my machine). Could be because I am running a 64-bit OS. After killing this process, try to run Android Studio again, and it should work.
If your path and/or environment variables are not pointing to the correct JDK, things won't work properly.
A rock solid solution, especially if you must have multiple JDKs installed (e.g. Java 6/7/8) is to create a batch file to launch Android Studio.
Create a new file called studio.bat and place this somewhere outside the Android Studio installation, e.g.
c:\mydevstuff\launchers\studio.bat
(if you put the batch file anywhere in the android-studio folder, then you'll have problems when updating Android Studio).
Put the following code in the new batch file:
#echo off
REM Can make paths relative to SCRIPT_PATH if necessary
set SCRIPT_PATH=%~dp0
set ANDROID_STUDIO_JDK=<JDK Path>
set JAVA_HOME=<JDK Path>
set PATH=<JDK Path>\bin;%PATH%
cd <android-studio Install Path>\bin
start studio64.exe
Replace studio64.exe with studio.exe if you need the 32-bit version.
Replace
<JDK Path>
with the path to your JDK, e.g.
C:\Program Files\Java\jdk1.7.0_25
Replace
<android-studio Install Path>
with the path to your Android Studio installation, e.g.
C:\Program Files\Android\android-studio
Now you can just run the batch file to start Android Studio.
Additional:
If you want to pin to the Taskbar, then create a shortcut to the batch file and then change it's target to:
cmd.exe /c "<path to bat>\studio.bat"
Then pin this shortcut to the Taskbar by drag-and-drop.
You can also set it's icon from the original Android Studio studio.exe file.
I ran into this problem and these steps fixed it.
Remove ALL older JRE / JDK versions
Set values for JDK_HOME & JAVA_HOME to path of JDK install
if you use android studio version 2.3.3 you should have JDK with version 1.8 in the system environment values ,
to add it
click on Computer (in windows 7)
System properties
Advanced system settings (at the right)
Advanced (tab)
environment variables button
and edit the value of name JAVA_HOME to the file which contains jdk 1.8
if you don't have this variable make a new one