Tizen package manger not recognizing JDK - java

First and foremost I am very novice to this so I may not understand all technical terms or how to do everything but will try to and ask followup questions if I have. I've been trying to install TiZen studio, which worked fine until I tried to open the package manager. I can open Tizen Studio, but cannot open the package manager. I've tried to redownload latest jdks etc and read that it may also be due to wrongly implemented environment variables, so I tried to set them but nothing works. Error message when trying to open package-manager
My systemvariables looks like these;these are my PATH variables. Am I doing something obvious wrong? I am sorry for the inconvenience, and what environment variables should I set, where and how?
Computer runs on windows 10!
UPDATE: Can't open Tizen studio anymore. Might've happened sometime after I've changed those environtment variables or something. Not sure, and can't make out what the log means. This is the log I got from the last attempted startup. I know it's tons of text, but I have no idea what it means or what to look for, and maybe someone knows what to do or what anything means.
Thanks in advance!
Regards

I had similar issue and stated in this question that later I updated with solution.
For your issues, here's probable solution that might help you.
You need to set JAVA_HOME variable with value of correct version of JDK that Tizen studio supports. This Guide states the requirements.
Let me know if it helped you.

Related

Trouble installing the Android SDK on Windows 10 through cmd

I am having trouble installing the Android SDK on Windows 10. I am following a brazilian course on app development using react-native on android. This is a documentation page explaining how to create the development enviroment to do so: https://docs.rocketseat.dev/ambiente-react-native/android/windows (use google translate on the website to see the english version). However, on the part where they execute the following command :
$ C:\Android\Sdk\tools\bin\sdkmanager "platform-tools" "platforms;android-27" "build-tools;27.0.3"
the console returns:
Error: Could not find or load main class com.android.sdklib.tool.sdkmanager.SdkManagerCli
Caused by: java.lang.ClassNotFoundException: com.android.sdklib.tool.sdkmanager.SdkManagerCli
I have searched an entire day for a solution and discovered that, to my sorrowing dissapointment, this is a incredibly generic error when working with java in general. So I tried a plethra of things to no avail.
Reinstalling java(64-bit version)
Reinstalling jdk
Checking and rechecking what could possibly be wrong with the enviroment variables(I found no problems)
Searching through a dozen tutorials on how to install de Sdk via cmd.
Trying to get the Sdk on my machine through Android Studio(but couldnt use any of the Sdk commands necessary for the tutorial)
Some other stuff(I spent an entire day trying to fix this)
TLDR: I know this question has been posted in some form or regard before, I've read through all of them though, and none of them helped me.
If anyone has any idea of what I'm dealing with here, or has gone through this before, I would very much appreciate any advice that can be given. This problem has been drilling on me for a while now and I would really like to move on from it. I'm willing to provide any details on my current configuration but must of it you can find on the tutorial I linked earlier. Thank you for your attention.
It turns out there really are a billion reasons as to why this happens, and in my experience with stack, I don't think this will be answered anytime soon. So for future reference I will be giving some advice to anyone who ends up stumbling onto this problem.
Dual-boot your machine with Linux. I know this sounds like a non solution but it really is the only feasible solution. I spent an entire week trying to solve a problem that really wasn't worth solving. There are a ton of tutorials on how to do it. It took me less than 30 minutes to set up the whole thing and voilá, everything worked as a charm. Don't waste your time trying to make stuff like this work on Windows, especially since Java is involved.
The tutorial I used: https://docs.rocketseat.dev/dual-boot-windows-linux/introducao
PS: The tutorial is in Portuguese but Google Translate works pretty much perfectly on the page, so there should be no issues.

Administrator Policy blocking Java?

I have IntelliJ IDEA Community Edition 15. I am not the admin of my Windows 10 desktop, but I have been trying extremely hard to get IntelliJ to work. I got the administrator to allow the installation of IntelliJ, but it would not let me run the program. Once I run it, IntelliJ will have an error message reading something like this:
Administrator Policy 1% is restricted by Administrator Policy 2%.
It gives no help whatsoever in how to fix this, but I realized there is this problem for many other of my Java-using applications. I have poured many days trying to research and fix this problem, but I have found no success. Please help. Thank You!
Also, if you extract the JDK (instead of installing it), you can get away with "not having to install java", which some administrators dislike.

Emulator can not be used without HAXM, what to do?

My CPU does not support VT-x. Thats why i cant install HAXM. Since the update the emulater does not work anymore without HAXM, which is really messed up?
Anyone got an idea on how to solve this Problem? Or is there an alternative Emulator or something?
Check in your bios if computer really not have these virtualization options. Maybe it is little hidded. Alternative 3rd party emulators are bluestacks or genymotion. I recommend to check the second one.
I checked every little corner in my bios. It's nowhere to be found. I have an intel i5 2500 btw. I think the 2500k supports it and i also thought i would have 2500k in my Computer. Which is why i dont get it anymore.
Well, after giving it a brief search all I can say is try to update yor BIOS to the latest available, and then search under the "System Information/Overclocking/CPU Feature" section and see whether you can see something related to it:
https://forum-en.msi.com/index.php?PHPSESSID=3jdaoibv16jart0rgkpuvige47&topic=148677.msg1104946#msg1104946
There is where I found the related info, good luck with that.
If not, the Genymotion option is also worth giving it a try.
www.genymotion.com

SQL Developer 4.0 won't start on Mac OS Lion (Stock on Loading Screen)

I have been looking for a solution to this problem because I want to use this software in my mac but seems not to work any of the solutions I found..
of course installing the latest version of JAVA -> JDK 7
changing sqldeveloper-Darwin.conf and SetJavaHome /Library/java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home
same but changed to /Home/bin just to try diff solutions to the problem
I also changed the sqldeveloper.conf and put the SetJavaHome /Library/java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home there
try to run the sqldeveloper (/Applications/SQLDeveloper.app/Contents/Resources/sqldeveloper/sqldeveloper/bin) shell waiting to see if was going to prompt me or ask me for JDK or whatever a set it to /usr (but never happened)
going crazy now, so decide to make the post to see if someone can help or figure which step I am missing and maybe not seen the mistake..
This is where the program hangs...
at
org.eclipse.osgi.framework.internal.core.EquinoxLauncher.internalStart(EquinoxLauncher.java:271)
at org.eclipse.osgi.framework.internal.core.EquinoxLauncher.start(EquinoxLauncher.java:241)
at org.eclipse.osgi.launch.Equinox.start(Equinox.java:258)
at org.netbeans.core.netigso.Netigso.start(Netigso.java:190)
at org.netbeans.NetigsoHandle.startFramework(NetigsoHandle.java:198)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1189)
at org.netbeans.ModuleManager.enable(ModuleManager.java:1011)
at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
at org.netbeans.core.startup.Main.start(Main.java:307)
at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
at java.lang.Thread.run(Thread.java:744)
I really hope, someone can help me, I really tired of booting on Windows to run SQL Developer plus I find it kinda dumb that Oracle don't encounter this kind of issue to make users experience more nice.. ;)
There is one solution. I have been using SQL Developer for some time now, and i am not happy about it (I am on a MAC btw), there are so many bugs and the intellisense sucks. It is a functional program nevertheless.
Download and use navicat instead. Or try to find another one instead. It might not be the solution you are looking for, but i will recommend it.
http://www.navicat.com

Netbeans IDE problem on MacOSX

I installed Netbeans IDE on Mac OS X few weeks ago. In the code-completion window while writing Java code, I always get the proper full list of possible code completions but in the window that pops-up which is supposed to display JDK documentation entry (all details) for each possible completion, it always say that JDK documentation was not found! It never happened to me when I worked on Windows.
I even downloaded and explicitly added JDK docs library to Netbeans library but to no use. Has anybody faced such problem? Please help! Thanks a lot in advance.
Well since nobody else answered and I had the same issue, but wasn't motivated enough to figure it out, I tracked down the way to do it... look here.
The only changes I did was to use the latest JavaDoc instead of the 1.5 one and to use Java Platforms in step 3 (I am using Netbeans 6.5, I guess the menu structure changed from when he did it).

Categories

Resources